fix: display status tab on dashboard as default while printing (#907)
This commit is contained in:
1 parent
8367f01bce
commit
911387755f
1 file changed
+4
@@ -239,6 +239,10 @@ export default class StatusPanel extends Mixins(BaseMixin) {
|
||||
return this.$store.state.printer.print_stats?.message ?? ''
|
||||
}
|
||||
|
||||
mounted() {
|
||||
if (this.current_filename !== '') this.activeTab = 'status'
|
||||
}
|
||||
|
||||
@Watch('current_filename')
|
||||
current_filenameChanged(newVal: string) {
|
||||
if (newVal === '') this.activeTab = 'files'
|
||||
|
||||
Reference in new issue
Block a user