Web: show notification when worker was removed
This commit is contained in:
parent
b4194e32e9
commit
ea82dbfead
@ -71,6 +71,9 @@ export const useNotifs = defineStore('notifications', {
|
||||
if (workerUpdate.previous_status && workerUpdate.previous_status != workerUpdate.status) {
|
||||
msg += ` changed status ${workerUpdate.previous_status} ➜ ${workerUpdate.status}`;
|
||||
this.add(msg);
|
||||
} else if (workerUpdate.deleted_at) {
|
||||
msg += " was removed from the system";
|
||||
this.add(msg);
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user