diff --git a/client/src/Annotation/index.jsx b/client/src/Annotation/index.jsx index cc5d146..83c1b1b 100644 --- a/client/src/Annotation/index.jsx +++ b/client/src/Annotation/index.jsx @@ -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) }