mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 23:09:41 +02:00
refactor(namespace): migrate namespace edit to react [r8s-125] (#38)
This commit is contained in:
parent
40c7742e46
commit
ce7e0d8d60
108 changed files with 3183 additions and 2194 deletions
9
app/react/kubernetes/metrics/queries/query-keys.ts
Normal file
9
app/react/kubernetes/metrics/queries/query-keys.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
import { EnvironmentId } from '@/react/portainer/environments/types';
|
||||
import { queryKeys as namespaceQueryKeys } from '@/react/kubernetes/namespaces/queries/queryKeys';
|
||||
|
||||
export const queryKeys = {
|
||||
namespaceMetrics: (environmentId: EnvironmentId, namespaceName: string) => [
|
||||
...namespaceQueryKeys.namespace(environmentId, namespaceName),
|
||||
'metrics',
|
||||
],
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue