+
{{ $t('buttonEditCarousel') }}
@@ -34,7 +34,7 @@ import CarouselEditModal from '@/components/modals/CarouselEditModal'
import { mapGetters } from 'vuex'
-import { userIsAtLeast } from '@/mixins/api/auth'
+import { userIsAtLeast, USER_TYPE_ADMINISTRATOR } from '@/mixins/api/auth'
import { getImageUrl } from '@/mixins/image'
import { apiGetTemplateCarouselConfig } from '@/mixins/api/misc'
@@ -51,7 +51,8 @@ export default {
data: function () {
return {
slide: 0,
- images: null
+ images: null,
+ USER_TYPE_ADMINISTRATOR
}
},
methods: {
diff --git a/src/components/images/ImageGallery.vue b/src/components/images/ImageGallery.vue
index 4c2ff9c..cd99697 100644
--- a/src/components/images/ImageGallery.vue
+++ b/src/components/images/ImageGallery.vue
@@ -28,10 +28,10 @@
{{ $t('buttonDownloadImages') }}
- {{ $t('buttonUpload') }}
+ {{ $t('buttonUpload') }}
-
+
@@ -46,7 +46,7 @@ import ImageTags from '@/components/images/ImageTags'
import ImageUploadModal from '@/components/modals/ImageUploadModal'
import { getImageUrl } from '@/mixins/image'
import { apiPostImages, apiPostImagesExport } from '@/mixins/api/misc.js'
-import { userIsAtLeast } from '@/mixins/api/auth'
+import { userIsAtLeast, USER_TYPE_DATA_CURATOR } from '@/mixins/api/auth'
import { mdiDownload, mdiUpload } from '@mdi/js'
@@ -63,7 +63,8 @@ export default {
images: [],
imageCount: -1,
imageTags: [],
- selectedTag: null
+ selectedTag: null,
+ USER_TYPE_DATA_CURATOR
}
},
props: {
diff --git a/src/components/images/ImageNode.vue b/src/components/images/ImageNode.vue
index cc8b468..94a20b8 100644
--- a/src/components/images/ImageNode.vue
+++ b/src/components/images/ImageNode.vue
@@ -8,11 +8,11 @@
-