This commit is contained in:
Sacha Weatherstone
2023-08-08 08:34:21 +10:00
parent dbd4025ead
commit c682553c67
21 changed files with 1035 additions and 1149 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ import { useDevice } from "@core/stores/deviceStore.js";
import { Fragment } from "react";
export const DeviceConfig = (): JSX.Element => {
const { hardware } = useDevice();
const { metadata } = useDevice();
const tabs = [
{
@@ -34,7 +34,7 @@ export const DeviceConfig = (): JSX.Element => {
{
label: "Network",
element: Network,
disabled: !hardware.hasWifi,
disabled: !metadata.get(0)?.hasWifi,
},
{
label: "Display",