Fix: TrueNAS Core support for pool stats (#3206)
--------- Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
1 parent
268d8efa0e
commit
4e69ea6088
5 files changed
+27
-3
No files matched your search
@@ -40,7 +40,15 @@ export default function Component({ service }) {
|
||||
</Container>
|
||||
{enablePools &&
|
||||
poolsData.map((pool) => (
|
||||
<Pool key={pool.id} name={pool.name} healthy={pool.healthy} allocated={pool.allocated} free={pool.free} />
|
||||
<Pool
|
||||
key={pool.id}
|
||||
name={pool.name}
|
||||
healthy={pool.healthy}
|
||||
allocated={pool.allocated}
|
||||
free={pool.free}
|
||||
data={pool.data}
|
||||
nasType={widget?.nasType ?? "scale"}
|
||||
/>
|
||||
))}
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user