We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 731e60f commit c28a14fCopy full SHA for c28a14f
client/src/DemoSite/index.jsx
@@ -68,7 +68,9 @@ export default () => {
68
})[0]
69
70
let selectedImageIndex = imageNames.indexOf(selectedImage)
71
+ if(selectedImageIndex != -1){
72
changeSelectedImageIndex(selectedImageIndex)
73
+ }
74
}
75
76
const getEnabledTools = (selectedTools) => {
@@ -139,7 +141,7 @@ export default () => {
139
141
enabledTools={getEnabledTools(settings.configuration.regionTypesAllowed) || []}
140
142
regionClsList={settings.configuration.labels.map(label => label.id) || []}
143
selectedImage={selectedImageIndex}
- enabledRegionProps= {["class", "comment"]}
144
+ enabledRegionProps= {["class", "name"]}
145
userReducer= {userReducer}
146
onExit={(output) => {
147
preprocessDataBeforeSend(output)
0 commit comments