Skip to content
Snippets Groups Projects
Commit 09b1aad3 authored by Sirieam Marie Hunke's avatar Sirieam Marie Hunke Committed by Petar Hristov
Browse files

Fix: Disabled drag & drop option for Guests

parent 54ad79d2
No related branches found
No related tags found
2 merge requests!186Chore: 1.23.3,!180Fix: Disabled drag & drop option for Guests
...@@ -191,12 +191,16 @@ export default defineComponent({ ...@@ -191,12 +191,16 @@ export default defineComponent({
return ( return (
!this.resourceTypeInformation?.resourceContent?.readOnly && !this.resourceTypeInformation?.resourceContent?.readOnly &&
!this.resourceTypeInformation?.resourceContent?.metadataView !this.resourceTypeInformation?.resourceContent?.metadataView
?.editableDataUrl ?.editableDataUrl &&
!this.isGuest
); );
}, },
showDroppable(): boolean { showDroppable(): boolean {
return this.dragCounter > 0; return this.dragCounter > 0;
}, },
isGuest(): boolean | undefined {
return this.projectStore.currentUserRoleIsGuest;
},
}, },
watch: { watch: {
fileListEdit() { fileListEdit() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment