Checks if current user can edit to display collection settings button on collection list.
This commit is contained in:
parent
d5fa3b7326
commit
ed6d87c52b
|
@ -252,6 +252,7 @@
|
|||
<div class="actions-container">
|
||||
<a
|
||||
id="button-edit"
|
||||
v-if="collection.current_user_can_edit"
|
||||
:aria-label="$i18n.getFrom('collections','edit_item')"
|
||||
@click.prevent.stop="goToCollectionEditPage(collection.id)">
|
||||
<span class="icon">
|
||||
|
@ -292,7 +293,7 @@ export default {
|
|||
cursorPosX: -1,
|
||||
cursorPosY: -1,
|
||||
contextMenuIndex: null,
|
||||
contextMenuCollection: null,
|
||||
contextMenuCollection: null
|
||||
}
|
||||
},
|
||||
props: {
|
||||
|
|
Loading…
Reference in New Issue