frontend: update dependencies

This commit is contained in:
Johannes Zellner
2024-07-22 18:00:33 +02:00
parent 01945675ed
commit 15f04edcf1
3 changed files with 105 additions and 103 deletions
+4 -1
View File
@@ -6,7 +6,7 @@
@close="onClose"
:tr="$t"
/>
<ImageViewer ref="imageViewer" v-show="active === 'imageViewer'" @close="onClose"/>
<ImageViewer ref="imageViewer" v-show="active === 'imageViewer'" @close="onClose" :navigation-handler="imageViewerNavigationHandler"/>
</div>
</template>
@@ -36,6 +36,9 @@ export default {
onClose() {
location.replace('#/home' + location.hash.slice('#/viewer'.length, location.hash.lastIndexOf('/')+1));
},
imageViewerNavigationHandler() {
// nothing to do
},
async saveHandler(item, content) {
await this.directoryModel.save(this.filePath, content);
}