Skip to content

Commit 36b8154

Browse files
committed
fix settings screen is not being rendered after clearing db
1 parent 2c1bf49 commit 36b8154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/Annotation/index.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export default () => {
150150
fetchImages(settings.images);
151151
}
152152
}
153-
const showLab = settingsConfig.settings.showLab || false;
153+
const showLab = settingsConfig.settings?.showLab || false;
154154
if(!isSettingsOpen && showLab) {
155155
setShowLabel(showLab)
156156
}

0 commit comments

Comments
 (0)