mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
chore: update @nextcloud/files and use now public API
Remove the hack which was needed until the view.hidden attribute was public API. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
1ded359d7e
commit
0a794f4054
3 changed files with 11 additions and 27 deletions
|
|
@ -104,7 +104,7 @@ export default defineComponent({
|
|||
|
||||
methods: {
|
||||
filterVisible(views: View[]) {
|
||||
return views.filter(({ _view, id }) => id === this.currentView?.id || _view.hidden !== true)
|
||||
return views.filter(({ id, hidden }) => id === this.currentView?.id || hidden !== true)
|
||||
},
|
||||
|
||||
hasChildViews(view: View): boolean {
|
||||
|
|
|
|||
34
package-lock.json
generated
34
package-lock.json
generated
|
|
@ -20,7 +20,7 @@
|
|||
"@nextcloud/capabilities": "^1.2.0",
|
||||
"@nextcloud/dialogs": "^6.3.1",
|
||||
"@nextcloud/event-bus": "^3.3.2",
|
||||
"@nextcloud/files": "^3.10.2",
|
||||
"@nextcloud/files": "^3.11.0",
|
||||
"@nextcloud/initial-state": "^2.2.0",
|
||||
"@nextcloud/l10n": "^3.3.0",
|
||||
"@nextcloud/logger": "^3.0.2",
|
||||
|
|
@ -4243,41 +4243,25 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@nextcloud/files": {
|
||||
"version": "3.10.2",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/files/-/files-3.10.2.tgz",
|
||||
"integrity": "sha512-8k6zN3nvGW8nEV5Db5DyfqcyK99RWw1iOSPIafi2RttiRQGpFzHlnF2EoM4buH5vWzI39WEvJnfuLZpkPX0cFw==",
|
||||
"version": "3.11.0",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/files/-/files-3.11.0.tgz",
|
||||
"integrity": "sha512-upOupwyjGlNoHY94M6xcXyazNTa6heY2uFY6ZjnIus19pyMQloXxnxwrd95cvdm8t3NxofMd2VG+DaDbK1FuXQ==",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"dependencies": {
|
||||
"@nextcloud/auth": "^2.4.0",
|
||||
"@nextcloud/auth": "^2.5.1",
|
||||
"@nextcloud/capabilities": "^1.2.0",
|
||||
"@nextcloud/l10n": "^3.1.0",
|
||||
"@nextcloud/l10n": "^3.3.0",
|
||||
"@nextcloud/logger": "^3.0.2",
|
||||
"@nextcloud/paths": "^2.2.1",
|
||||
"@nextcloud/router": "^3.0.1",
|
||||
"@nextcloud/sharing": "^0.2.4",
|
||||
"cancelable-promise": "^4.3.1",
|
||||
"is-svg": "^5.1.0",
|
||||
"is-svg": "^6.0.0",
|
||||
"typescript-event-target": "^1.1.1",
|
||||
"webdav": "^5.7.1"
|
||||
"webdav": "^5.8.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^20.0.0",
|
||||
"npm": "^10.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@nextcloud/files/node_modules/is-svg": {
|
||||
"version": "5.1.0",
|
||||
"resolved": "https://registry.npmjs.org/is-svg/-/is-svg-5.1.0.tgz",
|
||||
"integrity": "sha512-uVg5yifaTxHoefNf5Jcx+i9RZe2OBYd/UStp1umx+EERa4xGRa3LLGXjoEph43qUORC0qkafUgrXZ6zzK89yGA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"fast-xml-parser": "^4.4.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.16"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/sindresorhus"
|
||||
"node": "^20.0.0 || ^22.0.0 || ^24.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@nextcloud/initial-state": {
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
"@nextcloud/capabilities": "^1.2.0",
|
||||
"@nextcloud/dialogs": "^6.3.1",
|
||||
"@nextcloud/event-bus": "^3.3.2",
|
||||
"@nextcloud/files": "^3.10.2",
|
||||
"@nextcloud/files": "^3.11.0",
|
||||
"@nextcloud/initial-state": "^2.2.0",
|
||||
"@nextcloud/l10n": "^3.3.0",
|
||||
"@nextcloud/logger": "^3.0.2",
|
||||
|
|
|
|||
Loading…
Reference in a new issue