Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix the status box update notifications #1466

Merged
merged 2 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions launcher/src/components/UI/the-control/ControlAlert.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<img src="/img/icon/control/WARNSCHILD_GELB_storage.png" alt="warn_storage" />
</div>
<div class="message">
<div class="main-message"><span>LOW STORAGE SPACE</span></div>
<div class="main-message"><span>LOW STORAGE </span></div>
<div class="val-message">{{ availDisk }} GB Free</div>
</div>
</div>
Expand Down Expand Up @@ -127,7 +127,7 @@
</div>
<div class="message">
<div class="main-message" @click="showUpdate">
<span>{{ nameFilter(item) }} UPDATE</span>
<span>UPDATE available</span>
</div>
<div class="val-message">
<span>{{ item.version }}</span>
Expand Down Expand Up @@ -265,13 +265,6 @@ export default {
this.cpuMeth();
},
methods: {
nameFilter(arg) {
if (arg.name === "PrometheusNodeExporter") {
return "Node Exporter";
} else {
return arg.name;
}
},
iconFilter(arg) {
if (arg.name === "PrometheusNodeExporter") {
return "/img/icon/plugin-icons/Other/PrometheusNodeExporter-s.png";
Expand Down
9 changes: 1 addition & 8 deletions launcher/src/components/UI/the-node/NodeAlert.vue
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
</div>
<div class="message-text_container update-items">
<div class="main-message">
<span>{{ nameFilter(item) }} UPDATE</span>
<span>UPDATE available</span>
</div>
<div class="val-message">
<span>{{ item.version }}</span>
Expand Down Expand Up @@ -280,13 +280,6 @@ export default {
this.cpuMeth();
},
methods: {
nameFilter(arg) {
if (arg.name === "PrometheusNodeExporter") {
return "Node Exporter";
} else {
return arg.name;
}
},
iconFilter(arg) {
if (arg.name === "PrometheusNodeExporter") {
return "/img/icon/plugin-icons/Other/PrometheusNodeExporter-s.png";
Expand Down
Loading