Web: handle corner case where worker is deselected

This commit is contained in:
Sybren A. Stüvel 2022-06-02 16:45:37 +02:00
parent 8e7f1e2868
commit ce2e11c35c

View File

@ -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: {