3535 <!-- Menu actions -->
3636 <NcActions v-if =" visible"
3737 ref =" actionsMenu"
38- :boundaries-element =" getBoundariesElement() "
39- :container =" getBoundariesElement() "
38+ :boundaries-element =" getBoundariesElement"
39+ :container =" getBoundariesElement"
4040 :disabled =" isLoading || loading !== ''"
4141 :force-name =" true"
4242 :force-menu =" enabledInlineActions.length === 0 /* forceMenu only if no inline actions */"
@@ -70,6 +70,8 @@ import NcActions from '@nextcloud/vue/dist/Components/NcActions.js'
7070import NcIconSvgWrapper from ' @nextcloud/vue/dist/Components/NcIconSvgWrapper.js'
7171import NcLoadingIcon from ' @nextcloud/vue/dist/Components/NcLoadingIcon.js'
7272
73+ import CustomElementRender from ' ../CustomElementRender.vue'
74+
7375import logger from ' ../../logger.js'
7476
7577// The registered actions list
@@ -83,6 +85,7 @@ export default Vue.extend({
8385 NcActions ,
8486 NcIconSvgWrapper ,
8587 NcLoadingIcon ,
88+ CustomElementRender ,
8689 },
8790
8891 props: {
@@ -182,18 +185,18 @@ export default Vue.extend({
182185 this .$emit (' update:opened' , value )
183186 },
184187 },
185- },
186188
187- methods: {
188189 /**
189190 * Making this a function in case the files-list
190191 * reference changes in the future. That way we're
191192 * sure there is one at the time we call it.
192193 */
193- getBoundariesElement() {
194+ getBoundariesElement() {
194195 return document .querySelector (' .app-content > table.files-list' )
195196 },
197+ },
196198
199+ methods: {
197200 actionDisplayName(action : FileAction ) {
198201 if (this .filesListWidth < 768 && action .inline && typeof action .title === ' function' ) {
199202 // if an inline action is rendered in the menu for
0 commit comments