diff options
Diffstat (limited to 'apps/files/src/components/FileEntry/FileEntryActions.vue')
-rw-r--r-- | apps/files/src/components/FileEntry/FileEntryActions.vue | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/files/src/components/FileEntry/FileEntryActions.vue b/apps/files/src/components/FileEntry/FileEntryActions.vue index cc9413cf413..21d5cd9e796 100644 --- a/apps/files/src/components/FileEntry/FileEntryActions.vue +++ b/apps/files/src/components/FileEntry/FileEntryActions.vue @@ -211,12 +211,12 @@ export default defineComponent({ return this.enabledActions .filter(action => action.parent) .reduce((arr, action) => { - if (!arr[action.parent]) { - arr[action.parent] = [] + if (!arr[action.parent!]) { + arr[action.parent!] = [] } - arr[action.parent].push(action) + arr[action.parent!].push(action) return arr - }, {} as Record<string, FileAction>) + }, {} as Record<string, FileAction[]>) }, openedMenu: { @@ -238,7 +238,7 @@ export default defineComponent({ }, mountType() { - return this.source._attributes['mount-type'] + return this.source.attributes['mount-type'] }, }, |