aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/plugins
diff options
context:
space:
mode:
authorRemy Raes <raes.remy@gmail.com>2022-09-24 20:42:10 +0200
committerRemy Raes <raes.remy@gmail.com>2022-09-24 20:42:10 +0200
commita2f3766bfef81525b719013c880c3a116ebb5eb4 (patch)
treec632153ac0f4e3700618a31f8cc42fc476644e34 /src-vue/src/plugins
parent2199a6fc307ac419420521404ab100f456d9f490 (diff)
downloadFlightCore-a2f3766bfef81525b719013c880c3a116ebb5eb4.tar.gz
FlightCore-a2f3766bfef81525b719013c880c3a116ebb5eb4.zip
feat: display services state on dev mode
Diffstat (limited to 'src-vue/src/plugins')
-rw-r--r--src-vue/src/plugins/store.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/src-vue/src/plugins/store.ts b/src-vue/src/plugins/store.ts
index 226adafe..5bc12c1b 100644
--- a/src-vue/src/plugins/store.ts
+++ b/src-vue/src/plugins/store.ts
@@ -5,7 +5,7 @@ export const store = createStore({
state () {
return {
developer_mode: false,
-
+
installed_northstar_version: "1.9.7",
northstar_is_running: false,
@@ -25,11 +25,9 @@ export const store = createStore({
function _initializeListeners(state: any) {
listen("origin-running-ping", function (evt: TauriEvent<any>) {
state.origin_is_running = evt.payload as boolean;
- console.log(`Origin is running: ${evt.payload}`);
});
listen("northstar-running-ping", function (evt: TauriEvent<any>) {
state.northstar_is_running = evt.payload as boolean;
- console.log(`Northstar is running: ${evt.payload}`);
});
-} \ No newline at end of file
+}