diff options
Diffstat (limited to 'apps/files/src/components/FileEntry/FileEntryActions.vue')
-rw-r--r-- | apps/files/src/components/FileEntry/FileEntryActions.vue | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/apps/files/src/components/FileEntry/FileEntryActions.vue b/apps/files/src/components/FileEntry/FileEntryActions.vue index 404936f485b..bd4649cdee5 100644 --- a/apps/files/src/components/FileEntry/FileEntryActions.vue +++ b/apps/files/src/components/FileEntry/FileEntryActions.vue @@ -20,8 +20,7 @@ - --> <template> - <td v-show="visible" - class="files-list__row-actions" + <td class="files-list__row-actions" data-cy-files-list-row-actions> <!-- Render actions --> <CustomElementRender v-for="action in enabledRenderActions" @@ -33,8 +32,7 @@ class="files-list__row-action--inline" /> <!-- Menu actions --> - <NcActions v-if="visible" - ref="actionsMenu" + <NcActions ref="actionsMenu" :boundaries-element="getBoundariesElement" :container="getBoundariesElement" :disabled="isLoading || loading !== ''" @@ -71,7 +69,6 @@ import NcIconSvgWrapper from '@nextcloud/vue/dist/Components/NcIconSvgWrapper.js import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js' import CustomElementRender from '../CustomElementRender.vue' - import logger from '../../logger.js' // The registered actions list @@ -105,10 +102,6 @@ export default Vue.extend({ type: Object as PropType<Node>, required: true, }, - visible: { - type: Boolean, - default: false, - }, gridMode: { type: Boolean, default: false, @@ -153,7 +146,7 @@ export default Vue.extend({ // Enabled action that are displayed inline with a custom render function enabledRenderActions() { - if (!this.visible || this.gridMode) { + if (this.gridMode) { return [] } return this.enabledActions.filter(action => typeof action.renderInline === 'function') |