@@ -81,15 +81,14 @@ import type { PropType } from 'vue'
8181import { DefaultType , FileAction , Node , NodeStatus , View , getFileActions } from ' @nextcloud/files'
8282import { showError , showSuccess } from ' @nextcloud/dialogs'
8383import { translate as t } from ' @nextcloud/l10n'
84+ import { defineComponent } from ' vue'
8485
8586import NcActionButton from ' @nextcloud/vue/dist/Components/NcActionButton.js'
8687import NcActions from ' @nextcloud/vue/dist/Components/NcActions.js'
8788import NcActionSeparator from ' @nextcloud/vue/dist/Components/NcActionSeparator.js'
8889import NcIconSvgWrapper from ' @nextcloud/vue/dist/Components/NcIconSvgWrapper.js'
8990import NcLoadingIcon from ' @nextcloud/vue/dist/Components/NcLoadingIcon.js'
9091import ArrowLeftIcon from ' vue-material-design-icons/ArrowLeft.vue'
91- import Vue , { defineComponent } from ' vue'
92-
9392import CustomElementRender from ' ../CustomElementRender.vue'
9493
9594import logger from ' ../../logger.js'
@@ -270,7 +269,7 @@ export default defineComponent({
270269 try {
271270 // Set the loading marker
272271 this .$emit (' update:loading' , action .id )
273- Vue . set (this .source , ' status' , NodeStatus .LOADING )
272+ this . $ set (this .source , ' status' , NodeStatus .LOADING )
274273
275274 const success = await action .exec (this .source , this .currentView , this .currentDir )
276275
@@ -290,7 +289,7 @@ export default defineComponent({
290289 } finally {
291290 // Reset the loading marker
292291 this .$emit (' update:loading' , ' ' )
293- Vue . set (this .source , ' status' , undefined )
292+ this . $ set (this .source , ' status' , undefined )
294293
295294 // If that was a submenu, we just go back after the action
296295 if (isSubmenu ) {
0 commit comments