@necrolab/dashboard 0.4.218 → 0.4.219

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": "@necrolab/dashboard",
3
- "version": "0.4.218",
3
+ "version": "0.4.219",
4
4
  "scripts": {
5
5
  "build": "npx workbox-cli generateSW workbox-config.js && vite build",
6
6
  "dev": "vite",
@@ -3,7 +3,7 @@
3
3
  <template #header> Check Stock <BoxIcon class="ml-4" /> </template>
4
4
  <!-- Event ID -->
5
5
  <div class="input-wrapper mt-7 mb-4">
6
- <label class="label-override mb-2">Event ID <StadiumIcon /></label>
6
+ <label class="label-override mb-2">Event ID or URL <StadiumIcon /></label>
7
7
  <div class="input-default flex items-center">
8
8
  <input
9
9
  :placeholder="!isEU(ui.currentCountry.siteId) ? '102PDA9125510GYU' : '529171'"
@@ -11,7 +11,6 @@
11
11
  class="flex-grow"
12
12
  />
13
13
  <span class="text-red-400 text-lg absolute right-3 top-1/2 transform -translate-y-1/2">*</span>
14
- <!-- Changed from ml-2 to ml-1 -->
15
14
  </div>
16
15
  </div>
17
16
  <!-- Ticker Quantity -->
@@ -25,7 +25,7 @@
25
25
  <button
26
26
  class="hidden ipadlg:flex rounded gap-3 bg-dark-500 border-2 border-dark-550 shadow-lg px-2 h-10 justify-center items-center"
27
27
  >
28
- <h3 class="text-sm text-white">Filtered</h3>
28
+ <h3 class="text-sm text-white">Hide Monitors</h3>
29
29
  <Switch class="scale-75" v-model="filteredLogs" />
30
30
  </button>
31
31
  <button
@@ -57,7 +57,7 @@
57
57
  class="hidden-scrollbars"
58
58
  v-for="line in currentTaskLog
59
59
  ? taskLogMapping[currentTaskLog]
60
- : logLines.filter((l) => (filteredLogs ? !['-discord'].some((s) => l.includes(s)) : true))"
60
+ : logLines.filter((l) => (filteredLogs ? !['-DISCORD'].some((s) => l.includes(s)) : true))"
61
61
  v-bind:key="line"
62
62
  ><code class="md:text-sm lg:text-base" v-html="line"></code></pre>
63
63
  </Smoothie>
@@ -65,7 +65,7 @@
65
65
  <button
66
66
  class="flex rounded gap-3 bg-dark-500 border-2 border-dark-550 shadow-lg px-2 h-10 justify-center items-center"
67
67
  >
68
- <h3 class="text-sm text-white">Filtered</h3>
68
+ <h3 class="text-sm text-white">Hide Monitors</h3>
69
69
  <Switch class="scale-75" v-model="filteredLogs" />
70
70
  </button>
71
71
  <button
@@ -138,7 +138,7 @@ const ansii = new Filter();
138
138
  const autoscrollToggled = ref(true);
139
139
  const taskLogMapping = ref({});
140
140
  const currentTaskLog = ref(false);
141
- const filteredLogs = ref(false);
141
+ const filteredLogs = ref(true);
142
142
 
143
143
  const path = "/api/updates?type=console";
144
144
  const url = (window.location.protocol === "http:" ? "ws://" : "wss://") + window.location.host + path;