From 1b3d5d9d7e3fe636709fe99ef48c21e6e966503d Mon Sep 17 00:00:00 2001 From: liamcottle Date: Thu, 5 Dec 2024 19:52:14 +1300 Subject: [PATCH] add button to refresh device metrics for nodes --- src/components/RefreshButton.vue | 14 ++++++ src/components/pages/NodePage.vue | 42 +++++++++++++++- src/js/Connection.js | 1 + src/js/GlobalState.js | 1 + src/js/NodeAPI.js | 80 +++++++++++++++++++++++++------ src/main.js | 6 ++- 6 files changed, 127 insertions(+), 17 deletions(-) create mode 100644 src/components/RefreshButton.vue diff --git a/src/components/RefreshButton.vue b/src/components/RefreshButton.vue new file mode 100644 index 0000000..4584df1 --- /dev/null +++ b/src/components/RefreshButton.vue @@ -0,0 +1,14 @@ + + \ No newline at end of file diff --git a/src/components/pages/NodePage.vue b/src/components/pages/NodePage.vue index a852763..a9d162f 100644 --- a/src/components/pages/NodePage.vue +++ b/src/components/pages/NodePage.vue @@ -97,7 +97,12 @@
-
Device Metrics
+
+
Device Metrics
+
+ +
+