Remove unused usagePercent variable in Storage.tsx
This commit is contained in:
parent
712541d5d8
commit
8bc8a98bb8
1 changed files with 0 additions and 2 deletions
|
|
@ -803,8 +803,6 @@ const Storage: Component = () => {
|
||||||
{/* Storage Rows */}
|
{/* Storage Rows */}
|
||||||
<For each={storages} fallback={<></>}>
|
<For each={storages} fallback={<></>}>
|
||||||
{(storage) => {
|
{(storage) => {
|
||||||
const usagePercent =
|
|
||||||
storage.total > 0 ? (storage.used / storage.total) * 100 : 0;
|
|
||||||
const isDisabled = storage.status !== 'available';
|
const isDisabled = storage.status !== 'available';
|
||||||
const pbsNamesDisplay = createMemo(() => {
|
const pbsNamesDisplay = createMemo(() => {
|
||||||
const names = storage.pbsNames?.filter(
|
const names = storage.pbsNames?.filter(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue