Skip to content

Commit

Permalink
fix: selection tools not being selected issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sumn2u committed Oct 9, 2024
1 parent 52cacaa commit 346480e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/src/ConfigurationTask/ConfigurationTask.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jest.mock("react-i18next", () => ({
({
"setup.tabs.taskinfo.task_info": "Task Information",
"setup.tabs.taskinfo.task_choice": "Choice of Task",
"setup.tabs.taskinfo.task_choice_object_detection":
"setup.tabs.taskinfo.task_choice_classification":
"Object Detection",
"setup.tabs.taskinfo.task_choice_segmentation": "Image Segmentation",
})[key],
Expand Down
2 changes: 1 addition & 1 deletion client/src/ConfigurationTask/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default ({ config, onChange }) => {
choices: [
{
value: "object_detection",
text: t("setup.tabs.taskinfo.task_choice_object_detection"),
text: t("setup.tabs.taskinfo.task_choice_classification"),
},
{
value: "image_segmentation",
Expand Down
2 changes: 1 addition & 1 deletion client/src/Localization/translation-de-DE.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const translationDeDE = {
"setup.tabs.images": "Bilder",
"setup.tabs.taskinfo.task_info": "Aufgabeninformation",
"setup.tabs.taskinfo.task_choice": "Aufgabenwahl",
"setup.tabs.taskinfo.task_choice_object_detection": "Bildklassifikation",
"setup.tabs.taskinfo.task_choice_classification": "Bildklassifikation",
"setup.tabs.taskinfo.task_choice_segmentation": "Bildsegmentierung",
"configuration.multiple_regions": "Können mehrere Regionen erstellt werden?",
"configuration.multiple_region_labels": "Mehrere Regionslabels erlaubt?",
Expand Down
2 changes: 1 addition & 1 deletion client/src/Localization/translation-en-EN.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const translationEnEN = {
"setup.tabs.images": "Images",
"setup.tabs.taskinfo.task_info": "Task Information",
"setup.tabs.taskinfo.task_choice": "Choice of Task",
"setup.tabs.taskinfo.task_choice_object_detection": "Object Detection",
"setup.tabs.taskinfo.task_choice_classification": "Object Detection",
"setup.tabs.taskinfo.task_choice_segmentation": "Image Segmentation",
"configuration.multiple_regions": "Can Multiple Regions Be Created?",
"configuration.multiple_region_labels": "Multiple Region Labels Allowed?",
Expand Down

0 comments on commit 346480e

Please sign in to comment.