km: improve dark mode / switching. mt: add worker log to ui

This commit is contained in:
Stewart Allen 2022-01-07 16:46:05 -05:00
commit d0d9e99ede
5 changed files with 39 additions and 9 deletions

View file

@ -34,6 +34,11 @@ const dispatch = moto.worker = {
}
},
// allow workers to publish messages on the client side
publish(topic, message) {
dispatch.send({publish: topic, message});
},
ready() {
dispatch.send({ready: true});
},