Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2942983
D25308.1738152414.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
D25308.1738152414.diff
View Options
diff --git a/src/applications/dashboard/paneltype/PhabricatorDashboardTabsPanelType.php b/src/applications/dashboard/paneltype/PhabricatorDashboardTabsPanelType.php
--- a/src/applications/dashboard/paneltype/PhabricatorDashboardTabsPanelType.php
+++ b/src/applications/dashboard/paneltype/PhabricatorDashboardTabsPanelType.php
@@ -139,6 +139,7 @@
$edit_uri = urisprintf(
'/dashboard/panel/edit/%d/',
$panel_id);
+
if ($subpanel) {
$can_edit = PhabricatorPolicyFilter::hasCapability(
$viewer,
@@ -181,7 +182,7 @@
->setIcon('fa-chevron-left')
->setHref($prev_uri)
->setWorkflow(true)
- ->setDisabled(($prev_key === null) || !$can_edit));
+ ->setDisabled($prev_key === null));
$dropdown_menu->addAction(
id(new PhabricatorActionView())
@@ -189,7 +190,7 @@
->setIcon('fa-chevron-right')
->setHref($next_uri)
->setWorkflow(true)
- ->setDisabled(($next_key === null) || !$can_edit));
+ ->setDisabled($next_key === null));
$dropdown_menu->addAction(
id(new PhabricatorActionView())
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 29, 12:06 (3 d, 19 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1153002
Default Alt Text
D25308.1738152414.diff (1 KB)
Attached To
Mode
D25308: Dashboard Tabs: render "Move" buttons grayed out more consistently
Attached
Detach File
Event Timeline
Log In to Comment