mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +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
|
@ -49,7 +49,7 @@ export function useAllStoragesQuery(
|
|||
);
|
||||
}
|
||||
|
||||
// get all volumes from a namespace
|
||||
// get all volumes in a cluster
|
||||
export async function getAllVolumes(
|
||||
environmentId: EnvironmentId,
|
||||
params?: { withApplications: boolean }
|
||||
|
@ -65,7 +65,7 @@ export async function getAllVolumes(
|
|||
}
|
||||
}
|
||||
|
||||
function convertToVolumeViewModels(
|
||||
export function convertToVolumeViewModels(
|
||||
volumes: K8sVolumeInfo[]
|
||||
): VolumeViewModel[] {
|
||||
return volumes.map((volume) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue