Skip to content

Commit

Permalink
fix: pipeline apps management page hide out of sync while loading (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
tiina303 authored Jan 23, 2024
1 parent 770b5aa commit f592a4d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/scenes/pipeline/AppsManagement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export function AppsManagement(): JSX.Element {
shouldNotBeGlobalPlugins,
globalPlugins,
localPlugins,
pluginsLoading,
} = useValues(appsManagementLogic)
const { isDev, isCloudOrDev } = useValues(preflightLogic)

Expand All @@ -43,7 +44,10 @@ export function AppsManagement(): JSX.Element {

return (
<div className="pipeline-apps-management-scene">
{/* When plugins are still loading we don't know yet if any apps are out of sync
with the global state, so skip this section for smooter user experience */}
{isCloudOrDev &&
!pluginsLoading &&
(missingGlobalPlugins.length > 0 ||
shouldBeGlobalPlugins.length > 0 ||
shouldNotBeGlobalPlugins.length > 0) && <OutOfSyncApps />}
Expand Down

0 comments on commit f592a4d

Please sign in to comment.