Do not popup dialog if autosave is on
This commit is contained in:
parent
7ec3f49c3e
commit
a73f9771ee
|
@ -15,7 +15,11 @@ const DraftCloser = {
|
|||
],
|
||||
computed: {
|
||||
action () {
|
||||
if (this.$store.getters.mergedConfig.autoSaveDraft) {
|
||||
return 'save'
|
||||
} else {
|
||||
return this.$store.getters.mergedConfig.unsavedPostAction
|
||||
}
|
||||
},
|
||||
shouldConfirm () {
|
||||
return this.action === 'confirm'
|
||||
|
|
|
@ -525,7 +525,7 @@
|
|||
{{ $t('settings.auto_save_draft') }}
|
||||
</BooleanSetting>
|
||||
</li>
|
||||
<li>
|
||||
<li v-if="!autoSaveDraft">
|
||||
<ChoiceSetting
|
||||
id="unsavedPostAction"
|
||||
path="unsavedPostAction"
|
||||
|
|
Loading…
Reference in New Issue