diff --git a/src/AlertListScreen.vue b/src/AlertListScreen.vue new file mode 100644 index 0000000..cdb87ae --- /dev/null +++ b/src/AlertListScreen.vue @@ -0,0 +1,18 @@ + + + + + diff --git a/src/App.vue b/src/App.vue index 652ae79..94871f5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,17 +1,20 @@ + + + + diff --git a/src/utils/useWebsocket.js b/src/utils/useWebsocket.js index 7e96d21..e6896f5 100644 --- a/src/utils/useWebsocket.js +++ b/src/utils/useWebsocket.js @@ -1,6 +1,7 @@ import Client from "./ws"; -export default function useWebsocket(store, path) { +export default function useWebsocket(store, path, excludePaths = []) { + if (excludePaths.includes(path)) return; // connect0(store); connectPath(store, path); }