Fix duplicating panel when editing in column 2

Authored by chad on Feb 14 2017, 2:34 AM.



Fixes T10612. We're writing a new panel to any dashboard even if it already exists. No need when just updating a panel title.

Test Plan

Add "welcome" panel to column 2 of a clean dashboard. Edit title, save. See correct panel in correct place.

Diff Detail

rP Phabricator
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
chad created this revision.Feb 14 2017, 2:34 AM
epriestley accepted this revision.Feb 14 2017, 2:38 AM

Nice find! 🌵

This revision is now accepted and ready to land.Feb 14 2017, 2:38 AM
This revision was automatically updated to reflect the committed changes.