added object controls and fixed the grainbag visualizer
This commit is contained in:
parent
7bf4736066
commit
d8b42c8050
5 changed files with 406 additions and 22 deletions
|
|
@ -2,7 +2,7 @@ import { Box } from "@mui/material";
|
|||
import DisplayDrawer from "common/DisplayDrawer";
|
||||
import MapMarkerSettings from "maps/MapMarkerSettings";
|
||||
import { GrainBag as BagModel } from "models/GrainBag";
|
||||
//import GrainBag from "pages/grainBag";
|
||||
import GrainBag from "pages/grainBag";
|
||||
import { pond } from "protobuf-ts/pond";
|
||||
import { useGrainBagAPI, useSnackbar } from "providers";
|
||||
import React, { useEffect, useState } from "react";
|
||||
|
|
@ -86,8 +86,8 @@ export default function GrainBagDrawer(props: Props) {
|
|||
};
|
||||
|
||||
const drawerBody = () => {
|
||||
//return <Box>{bag.key() !== "" && <GrainBag bagKey={bag.key()} mobileView />}</Box>;
|
||||
return <Box></Box>
|
||||
return <Box>{bag.key() !== "" && <GrainBag bagKey={bag.key()} mobileView />}</Box>;
|
||||
//return <Box></Box>
|
||||
};
|
||||
|
||||
const update = () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue