Removed add library node buttons from libraries the user deosn't have edit permissions for
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
style="flex-grow: 0; height: 32px;"
|
||||
/>
|
||||
<insert-library-node-button
|
||||
v-if="libraryId"
|
||||
v-if="libraryId && canEditLibrary"
|
||||
style="bottom: -32px"
|
||||
fab
|
||||
:library-id="libraryId"
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
class="ma-2"
|
||||
>
|
||||
<insert-library-node-button
|
||||
v-if="editPermission(library)"
|
||||
:library-id="library._id"
|
||||
:selected-node-id="selectedNodeId"
|
||||
@selected="e => $emit('selected', e)"
|
||||
|
||||
Reference in New Issue
Block a user