updated the component and device api's to have as be a parameter for the function

This commit is contained in:
csawatzky 2025-04-22 14:33:19 -06:00
parent c617ebf868
commit b62c7dbe5c
39 changed files with 346 additions and 651 deletions

View file

@ -414,7 +414,7 @@ export default function Bin(props: Props) {
const reLoadSingleComponent = (componentKey: string) => {
let dev = componentDevices.get(componentKey);
if (dev) {
componentAPI.get(dev, componentKey).then(resp => {
componentAPI.get(dev, componentKey, undefined, undefined, as).then(resp => {
let compMap = components;
let comp = Component.any(resp.data);
compMap.set(comp.key(), comp);