mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29: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
|
@ -13,7 +13,7 @@ export function parseCpu(cpu: string) {
|
|||
export function prepareAnnotations(annotations?: Annotation[]) {
|
||||
const result = annotations?.reduce(
|
||||
(acc, a) => {
|
||||
acc[a.Key] = a.Value;
|
||||
acc[a.key] = a.value;
|
||||
return acc;
|
||||
},
|
||||
{} as Record<string, string>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue