bugfix: upload & print button clear loading status after uploading files

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej 2021-07-29 19:49:53 +02:00
parent f304039a2f
commit 4c4742bc7e

View File

@ -159,7 +159,7 @@ export default class TheTopbar extends Mixins(BaseMixin) {
successFiles.push(result)
}
this.$store.dispatch('socket/removeLoading', { name: 'gcodeUpload' })
this.$store.dispatch('socket/removeLoading', { name: 'btnUploadAndStart' })
for(const file of successFiles) {
const text = this.$t("App.TopBar.UploadOfFileSuccessful", {file:file}).toString()
this.$toast.success(text)