Loading src/components/JamaResource.vue +5 −3 Original line number Diff line number Diff line Loading @@ -42,6 +42,7 @@ {{ $t('add_to_collection') }} </v-list-item-title> </v-list-item> <template v-if="currentCollection"> <v-divider></v-divider> <v-list-item> <v-list-item-title class="caption"> Loading @@ -54,9 +55,10 @@ </v-list-item-title> </v-list-item> </template> <v-divider></v-divider> <v-list-item :disabled="ancestors.length===1 ? true : false" @click="askRemove(false)"> <v-list-item v-if="currentCollection" :disabled="ancestors.length===1 ? true : false" @click="askRemove(false)"> <v-list-item-title class="caption"> <v-icon> mdi-delete Loading Loading @@ -180,7 +182,7 @@ export default { }, watch: { resource() { this.isThumbnail = this.currentCollection.represented_by && this.isThumbnail = this.currentCollection && this.currentCollection.represented_by && this.resource.id === this.currentCollection.represented_by.id } }, Loading @@ -189,7 +191,7 @@ export default { return { collectionsDialog: false, ancestors: [], isThumbnail: this.currentCollection.represented_by && isThumbnail: this.currentCollection && this.currentCollection.represented_by && this.resource.id === this.currentCollection.represented_by.id } }, Loading src/components/VueJama.vue +0 −1 Original line number Diff line number Diff line Loading @@ -363,7 +363,6 @@ export default { }, async beforeMount() { console.log(this.viewMode); if (this.defaultCollection && this.defaultCollection !== '') { this.path = await this.$jamaClient.addCollectionFromPath(this.defaultCollection); this.loadCollection(this.path[this.path.length - 1]) Loading src/components/search/JamaSearch.vue +3 −0 Original line number Diff line number Diff line Loading @@ -70,6 +70,7 @@ <jama-items-mosaic :resources="foundResources" :collections="foundCollections" :current-resource="selectedResource" @collection-selected="collectionSelected" @resource-selected="resourceSelected" /> Loading Loading @@ -116,6 +117,7 @@ loading: false, terms: null, metaSets: null, selectedResource: null, mediaProperties: [ {text: this.$t("title"), value: "title"}, {text: this.$t("original_name"), value: "original_name"} Loading Loading @@ -169,6 +171,7 @@ }, resourceSelected(media) { this.selectedResource = media; this.$emit('resource-selected', media) }, Loading Loading
src/components/JamaResource.vue +5 −3 Original line number Diff line number Diff line Loading @@ -42,6 +42,7 @@ {{ $t('add_to_collection') }} </v-list-item-title> </v-list-item> <template v-if="currentCollection"> <v-divider></v-divider> <v-list-item> <v-list-item-title class="caption"> Loading @@ -54,9 +55,10 @@ </v-list-item-title> </v-list-item> </template> <v-divider></v-divider> <v-list-item :disabled="ancestors.length===1 ? true : false" @click="askRemove(false)"> <v-list-item v-if="currentCollection" :disabled="ancestors.length===1 ? true : false" @click="askRemove(false)"> <v-list-item-title class="caption"> <v-icon> mdi-delete Loading Loading @@ -180,7 +182,7 @@ export default { }, watch: { resource() { this.isThumbnail = this.currentCollection.represented_by && this.isThumbnail = this.currentCollection && this.currentCollection.represented_by && this.resource.id === this.currentCollection.represented_by.id } }, Loading @@ -189,7 +191,7 @@ export default { return { collectionsDialog: false, ancestors: [], isThumbnail: this.currentCollection.represented_by && isThumbnail: this.currentCollection && this.currentCollection.represented_by && this.resource.id === this.currentCollection.represented_by.id } }, Loading
src/components/VueJama.vue +0 −1 Original line number Diff line number Diff line Loading @@ -363,7 +363,6 @@ export default { }, async beforeMount() { console.log(this.viewMode); if (this.defaultCollection && this.defaultCollection !== '') { this.path = await this.$jamaClient.addCollectionFromPath(this.defaultCollection); this.loadCollection(this.path[this.path.length - 1]) Loading
src/components/search/JamaSearch.vue +3 −0 Original line number Diff line number Diff line Loading @@ -70,6 +70,7 @@ <jama-items-mosaic :resources="foundResources" :collections="foundCollections" :current-resource="selectedResource" @collection-selected="collectionSelected" @resource-selected="resourceSelected" /> Loading Loading @@ -116,6 +117,7 @@ loading: false, terms: null, metaSets: null, selectedResource: null, mediaProperties: [ {text: this.$t("title"), value: "title"}, {text: this.$t("original_name"), value: "original_name"} Loading Loading @@ -169,6 +171,7 @@ }, resourceSelected(media) { this.selectedResource = media; this.$emit('resource-selected', media) }, Loading