From f84962211028f54e0073590bf6c3532178c64843 Mon Sep 17 00:00:00 2001 From: Nico Verwer Date: Mon, 30 Sep 2024 12:09:58 +0200 Subject: [PATCH 1/3] monex would stop refreshing when properties on $data are undefined --- src/main/xar-resources/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/xar-resources/index.html b/src/main/xar-resources/index.html index f0816e1..70faa01 100644 --- a/src/main/xar-resources/index.html +++ b/src/main/xar-resources/index.html @@ -414,7 +414,7 @@

Running Queries

- + @@ -467,11 +467,11 @@

Recent Queries - + - + - + From f8c8a0d2b850e98281e6fe1abc5e0e80c18750e5 Mon Sep 17 00:00:00 2001 From: Nico Verwer Date: Mon, 30 Sep 2024 15:24:59 +0200 Subject: [PATCH 2/3] prevent any undefined property errors Works only in modern-ish browsers, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining#browser_compatibility --- src/main/xar-resources/index.html | 70 +++++++++++++++---------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/src/main/xar-resources/index.html b/src/main/xar-resources/index.html index 70faa01..07ee7a9 100644 --- a/src/main/xar-resources/index.html +++ b/src/main/xar-resources/index.html @@ -49,7 +49,7 @@

Uptime - ? + ? @@ -63,7 +63,7 @@

Running Queries - ? + ? @@ -104,31 +104,31 @@

Java Memory

Memory Used - 10 / - 10 M + 10 / + 10 M
-
+
Memory Committed - 10 / - 10 M + 10 / + 10 M
-
+
@@ -182,7 +182,7 @@

Running Jobs

Info - + No running jobs @@ -250,19 +250,19 @@

System Information

System CPU Load: - + Process CPU Load: - + Free Physical Memory: - + Total Physical Memory: - + @@ -301,7 +301,7 @@

Cache Usage

Using 0 of 0 pages
-
+
@@ -311,10 +311,10 @@

Cache Usage

Using 0 of 0 bytes
-
+
-
+
dom.dbx (BTree) @@ -327,10 +327,10 @@

Cache Usage

-
+
-
+
structure.dbx (BTree) @@ -343,10 +343,10 @@

Cache Usage

-
+
-
@@ -117,7 +117,7 @@

Java Memory

Memory Committed 10 / - 10 M + 10 M
- +
@@ -525,7 +525,7 @@

Waiting Threads

- No waiting threads + No waiting threads @@ -583,12 +583,12 @@

Active Threads

- - - - - - - - + + + + + + + +
\ No newline at end of file