available positions is known to device actions in support page
This commit is contained in:
parent
a9ae499b81
commit
61b93579cb
2 changed files with 1 additions and 13 deletions
|
|
@ -441,16 +441,6 @@ export default function DevicePage() {
|
||||||
<SmartBreadcrumb deviceName={device.name()} />
|
<SmartBreadcrumb deviceName={device.name()} />
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid>
|
<Grid>
|
||||||
<AddComponentManualDialog
|
|
||||||
device={device.id()}
|
|
||||||
open={addComponentManualDialogOpen}
|
|
||||||
onClose={() => setAddComponentManualDialogOpen(false)}
|
|
||||||
/>
|
|
||||||
{user.hasFeature("developer") === true &&
|
|
||||||
<Button onClick={() => setAddComponentManualDialogOpen(true)}>
|
|
||||||
Manual Comp
|
|
||||||
</Button>
|
|
||||||
}
|
|
||||||
<DeviceActions
|
<DeviceActions
|
||||||
device={device}
|
device={device}
|
||||||
isPaused={false}
|
isPaused={false}
|
||||||
|
|
@ -469,8 +459,6 @@ export default function DevicePage() {
|
||||||
<DeviceOverview
|
<DeviceOverview
|
||||||
device={device}
|
device={device}
|
||||||
components={[...components.values()]}
|
components={[...components.values()]}
|
||||||
// components={[]}
|
|
||||||
// components={components}
|
|
||||||
usage={getUsage()}
|
usage={getUsage()}
|
||||||
loading={loading}
|
loading={loading}
|
||||||
groupID={parseInt(groupID)}
|
groupID={parseInt(groupID)}
|
||||||
|
|
|
||||||
|
|
@ -195,7 +195,7 @@ export default function DeviceSupport() {
|
||||||
preferences={devicePageData.preferences}
|
preferences={devicePageData.preferences}
|
||||||
toggleNotificationPreference={toggleNotificationPreference}
|
toggleNotificationPreference={toggleNotificationPreference}
|
||||||
refreshCallback={() => {}}
|
refreshCallback={() => {}}
|
||||||
availablePositions={new Map()}
|
availablePositions={FindAvailablePositions(devicePageData.components, device.settings.product).availability}
|
||||||
availableOffsets={new Map()}
|
availableOffsets={new Map()}
|
||||||
components={[...devicePageData.components.map(comp => Component.any(comp))]}
|
components={[...devicePageData.components.map(comp => Component.any(comp))]}
|
||||||
interactions={devicePageData.interactions.map(inter => Interaction.any(inter))}
|
interactions={devicePageData.interactions.map(inter => Interaction.any(inter))}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue