mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
fix(apps): use replicas from application spec [r8s-142] (#335)
This commit is contained in:
parent
a259c28678
commit
7f089fab86
3 changed files with 14 additions and 6 deletions
|
@ -64,7 +64,9 @@ export function VolumesDatatable() {
|
|||
settingsManager={tableState}
|
||||
title="Volumes"
|
||||
titleIcon={Database}
|
||||
getRowId={(row) => row.PersistentVolumeClaim.Name}
|
||||
getRowId={(row) =>
|
||||
`${row.PersistentVolumeClaim.Name}-${row.ResourcePool.Namespace.Name}`
|
||||
}
|
||||
disableSelect={!hasWriteAuth}
|
||||
isRowSelectable={({ original: volume }) =>
|
||||
!isSystemNamespace(volume.ResourcePool.Namespace.Name, namespaces) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue