Skip to content

Commit

Permalink
format layout
Browse files Browse the repository at this point in the history
  • Loading branch information
bai1024 committed Aug 20, 2024
1 parent 0ced17b commit 15b89ad
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion promgen/static/js/promgen.vue.js
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,6 @@ app.component('silence-table-modal', {
this.form.value = '';
}
},

removeFilterLabel(label, value) {
this.form.labels = this.form.labels.filter(item => !(item.label === label && item.value === value));
silenceTableStore.removeFilterLabel(label, value);
Expand Down
3 changes: 0 additions & 3 deletions promgen/templates/promgen/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,12 @@
Alerts
<span v-text="activeAlerts.length" class="badge"></span>
</a>
<!-- <a @click="toggleComponent('global-silences')" class="btn btn-warning navbar-btn" role="button"> -->

<a @click="openSilenceTableModal" class="btn btn-warning navbar-btn" role="button">
Silences
<span v-text="activeSilences.length" class="badge"></span>
</a>



<ul class="nav navbar-nav navbar-right" v-pre>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
Expand Down

0 comments on commit 15b89ad

Please sign in to comment.