mirror of
https://github.com/nextcloud/bookmarks.git
synced 2025-07-21 05:49:00 +00:00
fix: Fix archive setting
fixes #2259 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
2773
package-lock.json
generated
2773
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -23,7 +23,7 @@
|
||||
"dependencies": {
|
||||
"@nextcloud/auth": "^2.1.0",
|
||||
"@nextcloud/axios": "^2.3.0",
|
||||
"@nextcloud/dialogs": "4.x",
|
||||
"@nextcloud/dialogs": "6.x",
|
||||
"@nextcloud/event-bus": "^3.1.0",
|
||||
"@nextcloud/initial-state": "^2.0.0",
|
||||
"@nextcloud/l10n": "^2.1.0",
|
||||
|
@ -13,7 +13,6 @@ import { mutations } from './store/index.js'
|
||||
import { showError, showMessage } from '@nextcloud/dialogs'
|
||||
import { generateFilePath } from '@nextcloud/router'
|
||||
import { getRequestToken } from '@nextcloud/auth'
|
||||
import '@nextcloud/dialogs/dist/index.css'
|
||||
|
||||
// eslint-disable-next-line camelcase
|
||||
__webpack_nonce__ = btoa(getRequestToken())
|
||||
|
@ -148,13 +148,11 @@ export default {
|
||||
addToHomeScreen: null,
|
||||
archivePathPicker: getFilePickerBuilder(this.t('bookmarks', 'Archive path'))
|
||||
.allowDirectories(true)
|
||||
.setModal(true)
|
||||
.setType(1)// CHOOSE
|
||||
.setMultiSelect(false)
|
||||
.build(),
|
||||
backupPathPicker: getFilePickerBuilder(this.t('bookmarks', 'Backup path'))
|
||||
.allowDirectories(true)
|
||||
.setModal(true)
|
||||
.setType(1)// CHOOSE
|
||||
.setMultiSelect(false)
|
||||
.build(),
|
||||
@ -177,7 +175,7 @@ export default {
|
||||
return this.$store.state.settings['privacy.enableScraping'] === 'true'
|
||||
},
|
||||
archiveEnabled() {
|
||||
return this.$store.state.settings['archive.enabled'] && this.$store.state.settings['privacy.enableScraping'] === 'true'
|
||||
return this.$store.state.settings['archive.enabled'] === 'true' && this.$store.state.settings['privacy.enableScraping'] === 'true'
|
||||
},
|
||||
archivePath() {
|
||||
return this.$store.state.settings['archive.filePath']
|
||||
|
Reference in New Issue
Block a user