fix: don't enable editing when the user has no rights for it
related: #804
This commit is contained in:
parent
7cd3394da5
commit
96ef25ba01
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="editor">
|
||||
<div class="clear"></div>
|
||||
|
||||
|
||||
<vue-easymde
|
||||
:configs="config"
|
||||
@change="bubble"
|
||||
|
@ -31,7 +31,7 @@
|
|||
<a @click="action.action">{{ action.title }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<template v-else-if="showSave">
|
||||
<template v-else-if="isEditEnabled && showSave">
|
||||
<ul v-if="!isEditActive" class="actions">
|
||||
<li>
|
||||
<a @click="toggleEdit">{{ $t('input.editor.edit') }}</a>
|
||||
|
|
Loading…
Reference in a new issue