AUXteam commited on
Commit
3f729b3
·
verified ·
1 Parent(s): 7934a47

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. components/SimulationPage.tsx +1 -1
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))) {