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