Skip to content

Commit 1b91793

Browse files
harsh-vadorOpenMetadata Release Bot
authored andcommitted
fix(applications): fetch plugin list after permissions load to prevent stale route registration (#27537)
(cherry picked from commit a965573)
1 parent 433317a commit 1b91793

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openmetadata-ui/src/main/resources/ui/src/components/Settings/Applications/ApplicationsProvider/ApplicationsProvider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export const ApplicationsProvider = ({ children }: { children: ReactNode }) => {
6464
} else {
6565
setLoading(false);
6666
}
67-
}, []);
67+
}, [permissions]);
6868

6969
const installedPluginInstances: AppPlugin[] = useMemo(() => {
7070
return applications

0 commit comments

Comments
 (0)