Page MenuHomePhabricator

D20473.id48845.diff
No OneTemporary

D20473.id48845.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
Nov 18 2025, 12:53 PM (8 w, 9 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8333451
Default Alt Text
D20473.id48845.diff (763 B)

Event Timeline