Web: handle corner case where worker is deselected
This commit is contained in:
parent
8e7f1e2868
commit
ce2e11c35c
@ -54,7 +54,10 @@ export default {
|
|||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
workerData(newData) {
|
workerData(newData) {
|
||||||
this.workerStatusHTML = workerStatus(newData);
|
if (newData)
|
||||||
|
this.workerStatusHTML = workerStatus(newData);
|
||||||
|
else
|
||||||
|
this.workerStatusHTML = "";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user