fixed navigation bug in devices page; added option to seperate dust from sen5x to different column
This commit is contained in:
parent
4bd66d3d24
commit
ebf6bdb71a
5 changed files with 82 additions and 60 deletions
|
|
@ -17,7 +17,7 @@ import { isController, isSource } from "pbHelpers/ComponentType";
|
|||
import { DeviceAvailabilityMap, OffsetAvailabilityMap } from "pbHelpers/DeviceAvailability";
|
||||
import { pond } from "protobuf-ts/pond";
|
||||
import { useGlobalState } from "providers";
|
||||
import React, { useState } from "react";
|
||||
import React, { useEffect, useState } from "react";
|
||||
import { or } from "utils/types";
|
||||
import ComponentSettings from "./ComponentSettings";
|
||||
import { green, teal } from "@mui/material/colors";
|
||||
|
|
@ -94,6 +94,7 @@ export default function ComponentActions(props: Props) {
|
|||
};
|
||||
|
||||
const openComponentSettingsDialog = (mode: string) => {
|
||||
console.log("delete")
|
||||
setIsComponentSettingsOpen(true);
|
||||
setComponentSettingsMode(or(mode, ""));
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue