Page MenuHomePhabricator

D20473.id.diff
No OneTemporary

D20473.id.diff

diff --git a/src/applications/dashboard/editor/PhabricatorDashboardPanelEditEngine.php b/src/applications/dashboard/editor/PhabricatorDashboardPanelEditEngine.php
--- a/src/applications/dashboard/editor/PhabricatorDashboardPanelEditEngine.php
+++ b/src/applications/dashboard/editor/PhabricatorDashboardPanelEditEngine.php
@@ -134,6 +134,12 @@
$context = $this->getContextObject();
if ($context instanceof PhabricatorDashboard) {
+ // Only add the panel to the dashboard when we're creating a new panel,
+ // not if we're editing an existing panel.
+ if (!$this->getIsCreate()) {
+ return;
+ }
+
$viewer = $this->getViewer();
$controller = $this->getController();
$request = $controller->getRequest();

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 26, 10:03 AM (6 d, 12 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7722134
Default Alt Text
D20473.id.diff (763 B)

Event Timeline