viewer: allow edits to video metadata
parent
44e251d743
commit
6c8ea158c0
|
@ -77,7 +77,7 @@
|
|||
</template>
|
||||
</NcActionButton>
|
||||
<NcActionButton
|
||||
v-if="canEdit"
|
||||
v-if="canEdit && !isVideo"
|
||||
:aria-label="t('memories', 'Edit')"
|
||||
@click="openEditor"
|
||||
:close-after-click="true"
|
||||
|
@ -336,10 +336,7 @@ export default defineComponent({
|
|||
|
||||
/** Show edit buttons */
|
||||
canEdit(): boolean {
|
||||
return (
|
||||
this.currentPhoto?.mimetype?.startsWith("image/") &&
|
||||
this.currentPhoto.imageInfo?.permissions?.includes("U")
|
||||
);
|
||||
return this.currentPhoto?.imageInfo?.permissions?.includes("U");
|
||||
},
|
||||
|
||||
/** Show delete button */
|
||||
|
|
Loading…
Reference in New Issue