1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 15:29:42 +02:00

Revert "feat(cache): introduce cache option [EE-6293] (#10641)" (#10658)

This reverts commit 2c032f1739.
This commit is contained in:
Ali 2023-11-20 15:08:19 +13:00 committed by GitHub
parent 2c032f1739
commit ecce501cf3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
70 changed files with 45 additions and 418 deletions

View file

@ -1,8 +1,6 @@
import { useRouter } from '@uirouter/react';
import { PropsWithChildren } from 'react';
import { RefreshCw } from 'lucide-react';
import { dispatchCacheRefreshEvent } from '@/portainer/services/http-request.helper';
import { PropsWithChildren } from 'react';
import { Button } from '../buttons';
@ -53,7 +51,6 @@ export function PageHeader({
);
function onClickedRefresh() {
dispatchCacheRefreshEvent();
return onReload ? onReload() : router.stateService.reload();
}
}