Skip to content

Commit

Permalink
[BUGFIX] Fix silence form's delete label #468
Browse files Browse the repository at this point in the history
promgen.vue.js: Fix silence form's delete label
  • Loading branch information
kfdm committed Jan 11, 2024
2 parents 814e804 + f9a88fd commit 63163c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion promgen/static/js/promgen.vue.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ app.component('silence-form', {
}),
methods: {
removeLabel(label) {
this.$delete(this.state.labels, label);
delete this.state.labels[label];
},
submit() {
const body = JSON.stringify({
Expand Down

0 comments on commit 63163c2

Please sign in to comment.