mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 07:19:41 +02:00
refactor(docker/services): convert services table to react [EE-4675] (#10289)
This commit is contained in:
parent
6b5c24faff
commit
0dc1805881
46 changed files with 969 additions and 850 deletions
|
@ -3,6 +3,7 @@ import { Loader } from 'lucide-react';
|
|||
import { useEnvironment } from '@/react/portainer/environments/queries';
|
||||
import { statusIcon } from '@/react/docker/components/ImageStatus/helpers';
|
||||
import { EnvironmentId } from '@/react/portainer/environments/types';
|
||||
import { isBE } from '@/react/portainer/feature-flags/feature-flags.service';
|
||||
|
||||
import { Icon } from '@@/Icon';
|
||||
|
||||
|
@ -39,6 +40,10 @@ export function ImageStatus({
|
|||
return null;
|
||||
}
|
||||
|
||||
if (!isBE) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (isLoading || !data) {
|
||||
return (
|
||||
<Icon
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue