Skip to content
Snippets Groups Projects
Unverified Commit ec971978 authored by Nick Fitzpatrick's avatar Nick Fitzpatrick Committed by GitHub
Browse files

fix isDirty prop on DashboardApp.jsx (#22112)

parent 8108f0aa
Branches
Tags
No related merge requests found
......@@ -92,9 +92,10 @@ export default class DashboardGrid extends Component {
card => String(card.id) === layoutItem.i,
);
const keys = ["h", "w", "x", "y"];
const changed = !_.isEqual(
layoutItem,
this.getLayoutForDashCard(dashboardCard),
_.pick(layoutItem, keys),
_.pick(this.getLayoutForDashCard(dashboardCard), keys),
);
if (changed) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment