Skip to content

Commit dc779f6

Browse files
authored
Merge pull request #2659 from IntersectMBO/fix/fetching-governance-actions
fix: fetching governance actions
2 parents 49f2067 + 3be0b0b commit dc779f6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ changes.
1717
### Fixed
1818

1919
- Fix calculating DRep activity
20+
- Fix fetching Governance Actions being navigated from dashboard
2021

2122
### Changed
2223

govtool/frontend/src/context/dataActionsBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const DataActionsBarProvider: FC<ProviderProps> = ({ children }) => {
7070

7171
const userMovedToDifferentAppArea =
7272
pathname !== lastPath &&
73-
(!pathname.startsWith(lastPath) || lastPath === "");
73+
(!pathname.startsWith(lastPath) || lastPath === "" || lastPath === "/");
7474
const userOpenedGADetailsFromCategoryPage =
7575
lastPath.includes("governance_actions/category") &&
7676
pathname.includes("governance_actions/");

0 commit comments

Comments
 (0)