3
0

Add based 300ms timeouts to block spinners

This commit is contained in:
Jože Fortun
2024-08-29 16:06:03 +02:00
parent da733bbce9
commit 7598fef137
7 changed files with 22 additions and 10 deletions

View File

@@ -78,7 +78,9 @@ export default {
this.automationScripts = set
})
.finally(() => {
this.processing = false
setTimeout(() => {
this.processing = false
}, 300)
})
},

View File

@@ -293,7 +293,9 @@ export default {
console.error(e)
})
.finally(() => {
this.processing = false
setTimeout(() => {
this.processing = false
}, 300)
})
}
},

View File

@@ -236,7 +236,9 @@ export default {
})
})
})).finally(() => {
this.processing = false
setTimeout(() => {
this.processing = false
}, 300)
})
},

View File

@@ -192,13 +192,13 @@ export default {
}
this.reports = rtr
this.$nextTick(() => {
setTimeout(() => {
this.processing = false
})
}, 300)
} catch {
this.$nextTick(() => {
setTimeout(() => {
this.processing = false
})
}, 300)
}
},
/**

View File

@@ -145,7 +145,9 @@ export default {
this.value = value
}).catch(this.toastErrorHandler(this.$t('progress.fetch-failed')))
.finally(() => {
this.processing = false
setTimeout(() => {
this.processing = false
}, 300)
})
},

View File

@@ -487,7 +487,9 @@ export default {
console.error(e)
}
}).finally(() => {
this.processing = false
setTimeout(() => {
this.processing = false
}, 300)
})
},

View File

@@ -253,7 +253,9 @@ export default {
})
.then(() => this.block.expandReferences({ $ComposeAPI, $SystemAPI }, this.module, this.revisions))
.finally(() => {
this.processing = false
setTimeout(() => {
this.processing = false
}, 300)
})
},