mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
feat(config): separate configmaps and secrets [EE-5078] (#9029)
This commit is contained in:
parent
4a331b71e1
commit
d7fc2046d7
102 changed files with 2845 additions and 665 deletions
|
@ -14,6 +14,7 @@ interface Props extends IconProps {
|
|||
isRefetching?: boolean;
|
||||
value?: number;
|
||||
to?: string;
|
||||
params?: object;
|
||||
children?: ReactNode;
|
||||
dataCy?: string;
|
||||
}
|
||||
|
@ -26,6 +27,7 @@ export function DashboardItem({
|
|||
isRefetching,
|
||||
value,
|
||||
to,
|
||||
params,
|
||||
children,
|
||||
dataCy,
|
||||
}: Props) {
|
||||
|
@ -41,7 +43,7 @@ export function DashboardItem({
|
|||
>
|
||||
<div
|
||||
className={clsx(
|
||||
'text-muted absolute top-2 right-2 flex items-center transition-opacity',
|
||||
'text-muted absolute top-2 right-2 flex items-center text-xs transition-opacity',
|
||||
isRefetching ? 'opacity-100' : 'opacity-0'
|
||||
)}
|
||||
>
|
||||
|
@ -50,7 +52,7 @@ export function DashboardItem({
|
|||
</div>
|
||||
<div
|
||||
className={clsx(
|
||||
'text-muted absolute top-2 right-2 flex items-center transition-opacity',
|
||||
'text-muted absolute top-2 right-2 flex items-center text-xs transition-opacity',
|
||||
isLoading ? 'opacity-100' : 'opacity-0'
|
||||
)}
|
||||
>
|
||||
|
@ -101,7 +103,7 @@ export function DashboardItem({
|
|||
|
||||
if (to) {
|
||||
return (
|
||||
<Link to={to} className="!no-underline">
|
||||
<Link to={to} className="!no-underline" params={params}>
|
||||
{Item}
|
||||
</Link>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue