Skip to content

Commit

Permalink
Make tab navigation support namespaced orgs
Browse files Browse the repository at this point in the history
  • Loading branch information
aheber committed Mar 23, 2024
1 parent e77d6fa commit bac757b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dlrs/main/classes/ManageLookupRollupSummariesController.cls
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,11 @@ public with sharing class ManageLookupRollupSummariesController {

public PageReference newWizard() {
try {
String namespace = Utilities.namespace();
PageReference newPage = new PageReference(
'/lightning/n/ManageLookupRollupSummaries2'
'/lightning/n/' +
(namespace.length() > 0 ? namespace + '__' : '') +
'ManageLookupRollupSummaries2'
);
newPage.setRedirect(true);
return newPage;
Expand Down

0 comments on commit bac757b

Please sign in to comment.