Skip to content

Commit

Permalink
馃憣 Moving loading computed prop to NodeView from mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
MiloradFilipovic committed Dec 1, 2023
1 parent 8fc2db1 commit 2b62b75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/editor-ui/src/mixins/genericHelpers.ts
Expand Up @@ -29,9 +29,6 @@ export const genericHelpers = defineComponent({
readOnlyEnv(): boolean {
return this.sourceControlStore.preferences.branchReadOnly;
},
isLoading(): boolean {
return this.loadingService !== null;
},
},
methods: {
displayTimer(msPassed: number, showMs = false): string {
Expand Down
3 changes: 3 additions & 0 deletions packages/editor-ui/src/views/NodeView.vue
Expand Up @@ -691,6 +691,9 @@ export default defineComponent({
instance(): BrowserJsPlumbInstance {
return this.canvasStore.jsPlumbInstance;
},
isLoading(): boolean {
return this.loadingService !== null;
},
},
data() {
return {
Expand Down

0 comments on commit 2b62b75

Please sign in to comment.