Spaces:
Sleeping
Sleeping
devjas1 commited on
Commit ·
1cd909d
1
Parent(s): c446b65
fix(ui): Update `Sidebar` component: restrict spectroscopy modality options to RDWP and FTIR
Browse files
frontend/src/components/Sidebar.tsx
CHANGED
|
@@ -153,19 +153,8 @@ const Sidebar: React.FC<SidebarProps> = ({
|
|
| 153 |
className="form-select"
|
| 154 |
title="Choose the spectroscopy modality for analysis"
|
| 155 |
>
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
.map((model) => (
|
| 159 |
-
<option
|
| 160 |
-
key={model.name}
|
| 161 |
-
value={model.name}
|
| 162 |
-
title={model.description || "No description available"}
|
| 163 |
-
>
|
| 164 |
-
{model.display_name || model.name}
|
| 165 |
-
</option>
|
| 166 |
-
))}
|
| 167 |
-
<option value="raman">Raman Spectroscopy</option>
|
| 168 |
-
<option value="ftir">FTIR Spectroscopy</option>
|
| 169 |
</select>
|
| 170 |
</div>
|
| 171 |
</div>
|
|
|
|
| 153 |
className="form-select"
|
| 154 |
title="Choose the spectroscopy modality for analysis"
|
| 155 |
>
|
| 156 |
+
<option value="raman">RDWP Spectroscopy</option>
|
| 157 |
+
<option value="ftir">FTIR</option>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 158 |
</select>
|
| 159 |
</div>
|
| 160 |
</div>
|