mirror of
https://github.com/karl0ss/homepage.git
synced 2025-05-03 05:53:40 +01:00
Fix: correct icon in the longhorn widget (#3509)
This commit is contained in:
parent
97d7ae21e4
commit
4d76443846
@ -1,5 +1,5 @@
|
|||||||
import { useTranslation } from "next-i18next";
|
import { useTranslation } from "next-i18next";
|
||||||
import { FaThermometerHalf } from "react-icons/fa";
|
import { FiHardDrive } from "react-icons/fi";
|
||||||
|
|
||||||
import Resource from "../widget/resource";
|
import Resource from "../widget/resource";
|
||||||
import WidgetLabel from "../widget/widget_label";
|
import WidgetLabel from "../widget/widget_label";
|
||||||
@ -10,7 +10,7 @@ export default function Node({ data, expanded, labels }) {
|
|||||||
return (
|
return (
|
||||||
<Resource
|
<Resource
|
||||||
additionalClassNames="information-widget-longhorn-node"
|
additionalClassNames="information-widget-longhorn-node"
|
||||||
icon={FaThermometerHalf}
|
icon={FiHardDrive}
|
||||||
value={t("common.bytes", { value: data.node.available })}
|
value={t("common.bytes", { value: data.node.available })}
|
||||||
label={t("resources.free")}
|
label={t("resources.free")}
|
||||||
expandedValue={t("common.bytes", { value: data.node.maximum })}
|
expandedValue={t("common.bytes", { value: data.node.maximum })}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user