mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
fix(kube): improve dashboard load speed [EE-4941] (#8572)
* apply changes from EE * clear query cache when logging out * Text transitions in smoother
This commit is contained in:
parent
5f0af62521
commit
89194405ee
36 changed files with 569 additions and 210 deletions
|
@ -34,12 +34,15 @@ export function DashboardView() {
|
|||
<DashboardGrid>
|
||||
<DashboardItem
|
||||
value={subscriptionsCount as number}
|
||||
isLoading={subscriptionsQuery.isLoading}
|
||||
isRefetching={subscriptionsQuery.isRefetching}
|
||||
icon={Subscription}
|
||||
type="Subscription"
|
||||
/>
|
||||
{!resourceGroupsQuery.isError && !resourceGroupsQuery.isLoading && (
|
||||
<DashboardItem
|
||||
value={resourceGroupsCount}
|
||||
isLoading={resourceGroupsQuery.isLoading}
|
||||
icon={Package}
|
||||
type="Resource group"
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue