Add based 300ms timeouts to block spinners
This commit is contained in:
@@ -78,7 +78,9 @@ export default {
|
||||
this.automationScripts = set
|
||||
})
|
||||
.finally(() => {
|
||||
this.processing = false
|
||||
setTimeout(() => {
|
||||
this.processing = false
|
||||
}, 300)
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
@@ -293,7 +293,9 @@ export default {
|
||||
console.error(e)
|
||||
})
|
||||
.finally(() => {
|
||||
this.processing = false
|
||||
setTimeout(() => {
|
||||
this.processing = false
|
||||
}, 300)
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
@@ -236,7 +236,9 @@ export default {
|
||||
})
|
||||
})
|
||||
})).finally(() => {
|
||||
this.processing = false
|
||||
setTimeout(() => {
|
||||
this.processing = false
|
||||
}, 300)
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
@@ -192,13 +192,13 @@ export default {
|
||||
}
|
||||
|
||||
this.reports = rtr
|
||||
this.$nextTick(() => {
|
||||
setTimeout(() => {
|
||||
this.processing = false
|
||||
})
|
||||
}, 300)
|
||||
} catch {
|
||||
this.$nextTick(() => {
|
||||
setTimeout(() => {
|
||||
this.processing = false
|
||||
})
|
||||
}, 300)
|
||||
}
|
||||
},
|
||||
/**
|
||||
|
||||
@@ -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)
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
@@ -487,7 +487,9 @@ export default {
|
||||
console.error(e)
|
||||
}
|
||||
}).finally(() => {
|
||||
this.processing = false
|
||||
setTimeout(() => {
|
||||
this.processing = false
|
||||
}, 300)
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
@@ -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)
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user