cables now start at the top of the sidewall and dont go into the roof, added skeletons to the bin page for when it is loading, also fixed an issue with the camera being very zoomed in sometimes when the page loads
This commit is contained in:
parent
f6de509561
commit
87382dd5d8
6 changed files with 27 additions and 11 deletions
|
|
@ -69,7 +69,6 @@ import ButtonGroup from "common/ButtonGroup";
|
|||
import BinTransactions from "bin/BinTransactions";
|
||||
import { CO2 } from "models/CO2";
|
||||
import ObjectInteractions from "objects/objectInteractions/ObjectInteractions";
|
||||
import Bin3dView from "bin/3dView/Scene/Bin3dView";
|
||||
|
||||
interface TabPanelProps {
|
||||
children?: React.ReactNode;
|
||||
|
|
@ -780,8 +779,6 @@ export default function Bin(props: Props) {
|
|||
);
|
||||
};
|
||||
|
||||
const [fillPercent, setFillPercent] = useState(0)
|
||||
|
||||
const desktopView = () => {
|
||||
return (
|
||||
<Card sx={{ padding: 1 }}>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import { Pressure } from "models/Pressure";
|
|||
import { CO2 } from "models/CO2";
|
||||
import moment from "moment";
|
||||
import { quack } from "protobuf-ts/quack";
|
||||
import { Box, Drawer, Grid2 as Grid, IconButton, ListItemIcon, ListItemText, Menu, MenuItem, Tab, Tabs, Theme, Tooltip } from "@mui/material";
|
||||
import { Box, CircularProgress, Drawer, Grid2 as Grid, IconButton, ListItemIcon, ListItemText, Menu, MenuItem, Tab, Tabs, Theme, Tooltip } from "@mui/material";
|
||||
import { makeStyles } from "@mui/styles";
|
||||
import NotesIcon from "@mui/icons-material/Notes";
|
||||
import TasksIcon from "products/Construction/TasksIcon";
|
||||
|
|
@ -83,7 +83,6 @@ const useStyles = makeStyles((theme: Theme) => {
|
|||
|
||||
|
||||
export default function BinV2(){
|
||||
const warningThreshold = 6;
|
||||
const isMobile = useMobile();
|
||||
const binID = useParams<{ binID: string }>()?.binID ?? "";
|
||||
const binAPI = useBinAPI();
|
||||
|
|
@ -537,6 +536,7 @@ export default function BinV2(){
|
|||
{pageHeader()}
|
||||
<BinSummary
|
||||
bin={bin}
|
||||
loading={binLoading}
|
||||
devices={devices}
|
||||
fans={fans}
|
||||
heaters={heaters}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue