fixed permission issue causing problems with simple export

This commit is contained in:
csawatzky 2025-04-24 14:10:55 -06:00
parent 7c5332662d
commit b7e21a8fa1
3 changed files with 20 additions and 17 deletions

View file

@ -360,12 +360,21 @@ export default function Device(props: Props) {
// } else {
return (
<Box padding={1}>
<Grid container direction="row" alignItems="center">
<Grid style={{ order: 5 }}>
<Grid container direction="row" justifyContent="space-between" alignItems="center" width="100%">
<Grid size={12}>
<DeviceOverview
device={device}
components={[...components.values()]}
usage={getUsage()}
loading={isLoading}
/>
</Grid>
<Grid size={12}>
<DeviceActions
device={device}
isPaused={isPaused()}
components={getOrderedComponents()}
components={[...components.values()]}
//components={getOrderedComponents()}
interactions={interactions}
availablePositions={availablePositions}
availableOffsets={availableOffsets}
@ -374,18 +383,10 @@ export default function Device(props: Props) {
preferences={preferences}
toggleNotificationPreference={toggleNotificationPreference}
isLoading={isLoading}
/>
</Grid>
<Grid style={{ order: 4 }}>
<DeviceOverview
device={device}
components={[...components.values()]}
usage={getUsage()}
loading={isLoading}
/>
/>
</Grid>
{componentsTab()}
</Grid>
{componentsTab()}
</Box>
);
//}