Skip to content

Commit

Permalink
save filter if only option to show interval on tag has changed #306
Browse files Browse the repository at this point in the history
  • Loading branch information
vnmedeiros committed Oct 16, 2019
1 parent a330a52 commit 13af667
Showing 1 changed file with 11 additions and 1 deletion.
Expand Up @@ -9,7 +9,9 @@
</label>
<div>
<b-field>
<b-checkbox v-model="showIntervalOnTag">
<b-checkbox
v-model="showIntervalOnTag"
@input="onUpdateShowIntervalOnTag()">
{{ $i18n.get('info_show_interval_on_tag') }}
</b-checkbox>
</b-field>
Expand Down Expand Up @@ -115,6 +117,14 @@
});
}
}, 600),
onUpdateShowIntervalOnTag() {
if (this.isValid) {
this.$emit('input', {
intervals: this.intervals,
showIntervalOnTag: this.showIntervalOnTag
});
}
},
showErrorMessage() {
this.$buefy.toast.open({
duration: 3000,
Expand Down

0 comments on commit 13af667

Please sign in to comment.