Skip to content

Commit

Permalink
fix settings screen is not being rendered after clearing db
Browse files Browse the repository at this point in the history
  • Loading branch information
sumn2u committed Jul 2, 2024
1 parent 2c1bf49 commit 36b8154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/Annotation/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export default () => {
fetchImages(settings.images);
}
}
const showLab = settingsConfig.settings.showLab || false;
const showLab = settingsConfig.settings?.showLab || false;
if(!isSettingsOpen && showLab) {
setShowLabel(showLab)
}
Expand Down

0 comments on commit 36b8154

Please sign in to comment.