system-dashboard-frontend 1.35.21 → 1.35.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "system-dashboard-frontend",
3
- "version": "1.35.21",
3
+ "version": "1.35.23",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -46,7 +46,7 @@
46
46
  ...headers,
47
47
  Accept: "application/json",
48
48
  Range: `entries=${[cursor, offset, number]
49
- .map(v => (v === undefined ? "" : v))
49
+ .map(v => v || "")
50
50
  .join(":")}`
51
51
  }
52
52
  }
@@ -55,18 +55,13 @@
55
55
  yield* decodeJson(lineIterator(await response.body.getReader()));
56
56
  }
57
57
  } catch (e) {
58
- if (!e instanceof AbortSignal) {
58
+ if ((!e) instanceof AbortSignal) {
59
59
  throw e;
60
60
  }
61
61
  }
62
62
  }
63
63
 
64
- yield* fetchEntries(
65
- query,
66
- cursorEntry?.__CURSOR,
67
- offset,
68
- number
69
- );
64
+ yield* fetchEntries(query, cursorEntry?.__CURSOR, offset, number);
70
65
 
71
66
  if (offset < 0) {
72
67
  return;
@@ -99,6 +94,7 @@
99
94
  let:entry
100
95
  bind:follow
101
96
  let:selected
102
- let:position>
97
+ let:position
98
+ >
103
99
  <JournalEntry {entry} highlight={selected === position} {follow} />
104
100
  </LogView>
@@ -8,9 +8,9 @@
8
8
  {#if iface}
9
9
  <h3>Interface {iface.name}</h3>
10
10
 
11
- <ul>
11
+ <form>
12
12
  {#each Object.entries(iface) as e}
13
- <li>{e[0]} {e[1]}</li>
13
+ <label>{e[0]} <input value={e[1]} /></label>
14
14
  {/each}
15
- </ul>
15
+ </form>
16
16
  {:else}No such interface{/if}