mirror of https://github.com/keeweb/keeweb.git
#1393: option to disable saving and exporting (canSaveTo)
This commit is contained in:
parent
3d9965c4af
commit
19e899ba97
|
@ -73,6 +73,7 @@ AppSettingsModel.defineModelProperties(
|
|||
canRemoveLatest: true,
|
||||
canExportXml: true,
|
||||
canExportHtml: true,
|
||||
canSaveTo: true,
|
||||
|
||||
dropbox: true,
|
||||
webdav: true,
|
||||
|
|
|
@ -112,6 +112,7 @@ class SettingsFileView extends View {
|
|||
kdfParameters: this.kdfParametersToUi(this.model.kdfParameters),
|
||||
storageProviders,
|
||||
canBackup,
|
||||
canSaveTo: AppSettingsModel.canSaveTo,
|
||||
canExportXml: AppSettingsModel.canExportXml,
|
||||
canExportHtml: AppSettingsModel.canExportHtml
|
||||
});
|
||||
|
|
|
@ -15,8 +15,10 @@
|
|||
{{#ifeq storage 'file'}}{{res 'setFileSave'}}{{/ifeq}}
|
||||
{{#ifneq storage 'file'}}{{res 'setFileSyncVerb'}}{{/ifneq}}
|
||||
</button>
|
||||
<button class="settings__file-button-save-choose btn-silent"
|
||||
{{#if syncing}}disabled{{/if}}>{{res 'setFileSaveTo'}}</button>
|
||||
{{#if canSaveTo}}
|
||||
<button class="settings__file-button-save-choose btn-silent"
|
||||
{{#if syncing}}disabled{{/if}}>{{res 'setFileSaveTo'}}</button>
|
||||
{{/if}}
|
||||
<button class="settings__file-button-close btn-silent">{{res 'setFileClose'}}</button>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ Release notes
|
|||
`+` #1341: auto-lock the app on screen lock on Windows
|
||||
`+` #1065: PORTABLE_EXECUTABLE_DIR environment variable
|
||||
`*` #1397: Segoe UI font on Windows
|
||||
`+` #1393: option to disable saving and exporting (canSaveTo)
|
||||
`-` fix #1396: fixed hyperlinks in notes
|
||||
`-` fix #1323: version in the About dialog
|
||||
`-` fix #734: OTP secrets with spaces
|
||||
|
|
Loading…
Reference in New Issue