From d4e3684744c7ac5c12c420fd7c2ff183f9ae4f41 Mon Sep 17 00:00:00 2001 From: Keavon Chambers Date: Thu, 16 Dec 2021 02:18:45 -0800 Subject: [PATCH] Clean up JS message dispatcher and fix a bug thrown on empty-data messages Fixes bug in #394 --- frontend/src/App.vue | 1 + frontend/src/components/panels/LayerTree.vue | 10 +-- frontend/src/utilities/errors.ts | 5 +- frontend/src/utilities/input.ts | 2 +- .../src/utilities/js-message-dispatcher.ts | 72 +++++++++---------- 5 files changed, 44 insertions(+), 46 deletions(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index b683425e..fd8aa014 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -220,6 +220,7 @@ img {