Skip to content

Commit

Permalink
fix(dashboard): view.tab is causing content.viewsChanged to be always…
Browse files Browse the repository at this point in the history
… true
  • Loading branch information
GerilLeto committed Sep 5, 2023
1 parent e4751f7 commit b21742b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/src/dashboard-editor/model/content/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const _ContentModel = types
},
get viewsChanged() {
const fields = 'views.current';
return !isEqual(getSnapshot(get(self, fields)), get(self.origin, fields));
return !isEqual(self.views.json, get(self.origin, fields));
},
get panelsChanged() {
const fields = 'panels.list';
Expand Down

0 comments on commit b21742b

Please sign in to comment.