Merge branch 'master' into tidio
This commit is contained in:
commit
e438e6fa96
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue