diff options
author | Christopher Ng <chrng8@gmail.com> | 2024-08-07 20:52:29 -0700 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2024-08-08 10:52:20 -0700 |
commit | cfec6fcb1a9eaa57bef5bba757b5b9dbda387c96 (patch) | |
tree | 8a7530e978352cf3a44e88373c08d203e3dc5ddb /apps/files | |
parent | 86459aa5dace0d4065bfb23705dcc44fa6c18fe3 (diff) | |
download | nextcloud-server-cfec6fcb1a9eaa57bef5bba757b5b9dbda387c96.tar.gz nextcloud-server-cfec6fcb1a9eaa57bef5bba757b5b9dbda387c96.zip |
feat(files): Add getter for all view configs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/src/store/viewConfig.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/src/store/viewConfig.ts b/apps/files/src/store/viewConfig.ts index 4dc40ba1015..08d75b3d050 100644 --- a/apps/files/src/store/viewConfig.ts +++ b/apps/files/src/store/viewConfig.ts @@ -21,6 +21,8 @@ export const useViewConfigStore = function(...args) { getters: { getConfig: (state) => (view: ViewId): ViewConfig => state.viewConfig[view] || {}, + + getConfigs: (state) => (): ViewConfigs => state.viewConfig, }, actions: { |