Remove dots when disabled (#4075)

* Remove dots when disabled

Fixes #4038

* Revert "Remove dots when disabled"

This reverts commit 2276023471.

* Update save-options

Fixes #4038

* Remove dots in files and users routes

* Remove :disabled tags
This commit is contained in:
YannickMol
2021-02-16 20:07:09 +01:00
committed by GitHub
parent e691c2a911
commit 927042189c
3 changed files with 3 additions and 4 deletions

View File

@@ -132,8 +132,7 @@
<template #append-outer>
<save-options
v-if="collectionInfo.meta && collectionInfo.meta.singleton !== true"
:disabled="isSavable === false"
v-if="collectionInfo.meta && collectionInfo.meta.singleton !== true && isSavable === true"
@save-and-stay="saveAndStay"
@save-and-add-new="saveAndAddNew"
@save-as-copy="saveAsCopyAndNavigate"

View File

@@ -99,7 +99,7 @@
<template #append-outer>
<save-options
:disabled="hasEdits === false || saveAllowed === false"
v-if="hasEdits === true || saveAllowed === true"
@save-and-stay="saveAndStay"
@save-as-copy="saveAsCopyAndNavigate"
/>

View File

@@ -85,7 +85,7 @@
<template #append-outer>
<save-options
:disabled="hasEdits === false"
v-if="hasEdits === true"
@save-and-stay="saveAndStay"
@save-and-add-new="saveAndAddNew"
@save-as-copy="saveAsCopyAndNavigate"