Merge branch 'master' into tidio

This commit is contained in:
Carter 2025-12-19 14:11:39 -06:00
commit e438e6fa96

View file

@ -261,7 +261,7 @@ export default function Bins(props: Props) {
if (doneLoadingPage && grainBins.length < 1 && grainBags.length < 1) { if (doneLoadingPage && grainBins.length < 1 && grainBags.length < 1) {
teamAPI.listTeams(1, 0).then(resp => { teamAPI.listTeams(1, 0).then(resp => {
// console.log(resp.data.teams) // console.log(resp.data.teams)
if (resp.data.teams.length > 0) { if (resp.data?.teams?.length > 0) {
// console.log("should?") // console.log("should?")
setTeamsDialog(true) setTeamsDialog(true)
} }