Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files
components/SimulationPage.tsx
CHANGED
|
@@ -78,7 +78,7 @@ const SimulationPage: React.FC<SimulationPageProps> = ({
|
|
| 78 |
if (typeof s === 'object' && s !== null) return s.id || s.name || '';
|
| 79 |
return '';
|
| 80 |
})
|
| 81 |
-
.filter(name => name.length > 0);
|
| 82 |
|
| 83 |
setSocieties(names);
|
| 84 |
if (names.length > 0 && (!society || !names.includes(society))) {
|
|
|
|
| 78 |
if (typeof s === 'object' && s !== null) return s.id || s.name || '';
|
| 79 |
return '';
|
| 80 |
})
|
| 81 |
+
.filter(name => name.length > 0 && !name.toLowerCase().includes('default') && !name.toLowerCase().includes('template'));
|
| 82 |
|
| 83 |
setSocieties(names);
|
| 84 |
if (names.length > 0 && (!society || !names.includes(society))) {
|