updated the component and device api's to have as be a parameter for the function
This commit is contained in:
parent
c617ebf868
commit
b62c7dbe5c
39 changed files with 346 additions and 651 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue