Skip to content

Commit

Permalink
Apply to shared with me section
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan committed Aug 10, 2023
1 parent 86d6386 commit 0762d11
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
sidebar-closed
:are-thumbnails-displayed="displayThumbnails"
:resources="resourceItems"
:disabled="disabledResourceItems"
:are-resources-clickable="resourceClickable"
:target-route-callback="resourceTargetRouteCallback"
:header-position="fileListHeaderY"
Expand Down Expand Up @@ -257,6 +258,11 @@ export default defineComponent({
return this.items
}
return this.items.slice(0, this.showMoreToggleCount)
},
disabledResourceItems() {
return this.resourceItems
.filter((resource) => resource.processing === true)
.map((resource) => resource.id)
}
},
beforeUnmount() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
:are-thumbnails-displayed="displayThumbnails"
:are-paths-displayed="true"
:resources="paginatedResources"
:disabled="disabledResources"
:header-position="fileListHeaderY"
:sort-by="sortBy"
:sort-dir="sortDir"
:disabled="disabledResources"
:grouping-settings="groupingSettings"
@file-click="triggerDefaultAction"
@row-mounted="rowMounted"
Expand Down

0 comments on commit 0762d11

Please sign in to comment.