Skip to content

Commit

Permalink
fix: fixed unnecessary settings store update
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Oct 24, 2022
1 parent 9f37315 commit 6b71838
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/views/settings/ActivePatternSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ export default {
},
watch: {
always_active_pattern_editing: function (value) {
if (value == this.always_active_pattern) {
return;
}
if (
(value != '' && this.valid) ||
(value == '' && this.settingsStore.always_active_pattern.length != 0)
Expand Down

1 comment on commit 6b71838

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are screenshots of this commit:

Screenshots using aw-server v0.12.0 (click to expand)

Screenshots using aw-server-rust v0.12.0 (click to expand)

CML watermark

Please sign in to comment.