diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-03-24 16:27:47 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-04-06 14:49:31 +0200 |
commit | 0e764f753a3d47bba946dc3f64cef9536ac98d43 (patch) | |
tree | a2fa70c22ed666c920fa2575667298e24948cd2c /apps/files/src/components/FileEntry.vue | |
parent | 3c3050c76f86c7a8cc2f217f9305cb1051e0eca0 (diff) | |
download | nextcloud-server-0e764f753a3d47bba946dc3f64cef9536ac98d43.tar.gz nextcloud-server-0e764f753a3d47bba946dc3f64cef9536ac98d43.zip |
fix(files): fix custom render components reactivity
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/src/components/FileEntry.vue')
-rw-r--r-- | apps/files/src/components/FileEntry.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/src/components/FileEntry.vue b/apps/files/src/components/FileEntry.vue index 29e9895757e..fcada72e4ce 100644 --- a/apps/files/src/components/FileEntry.vue +++ b/apps/files/src/components/FileEntry.vue @@ -57,8 +57,8 @@ <!-- Actions --> <td :class="`files-list__row-actions-${uniqueId}`" class="files-list__row-actions"> <!-- Inline actions --> - <template v-for="action in enabledInlineActions"> - <CustomElementRender v-if="action.renderInline" + <template v-if="false" v-for="action in enabledInlineActions"> + <CustomElementRender v-if="false" :key="action.id" :element="action.renderInline(source, currentView)" /> <NcButton v-else @@ -100,7 +100,7 @@ :key="column.id" :class="`files-list__row-${currentView?.id}-${column.id}`" class="files-list__row-column-custom"> - <CustomElementRender :element="column.render(source)" /> + <CustomElementRender :current-view="currentView" :render="column.render" :source="source" /> </td> </Fragment> </template> |