fix: remove duplicate EN/AR language toggle from filter bars
The header already has a language switcher; the one in the filter bar was redundant on both Dashboard and Comparison pages. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -640,10 +640,6 @@ export default function PeriodSelectorDemo({ data, seasons, includeVAT, allowedM
|
||||
<AltMultiSelect value={selChannels} options={channels} onChange={setSelChannels} allLabel={L.allChannels} countLabel={L.countChannels} clearLabel={L.clearSel} />
|
||||
<AltMultiSelect value={selMuseums} options={museums} onChange={setSelMuseums} allLabel={L.allMuseums} countLabel={L.countMuseums} clearLabel={L.clearSel} />
|
||||
{hasFilters && <button type="button" className="alt-filter-reset" onClick={() => { setSelDistricts([]); setSelChannels([]); setSelMuseums([]); }}>{L.reset}</button>}
|
||||
<div className="alt-vat-toggle" style={{ marginInlineStart: 'auto' }}>
|
||||
<button type="button" className={`alt-vat-opt${activeLang==='en'?' alt-vat-opt--on':''}`} onClick={() => setLanguage('en')}>EN</button>
|
||||
<button type="button" className={`alt-vat-opt${activeLang==='ar'?' alt-vat-opt--on':''}`} onClick={() => setLanguage('ar')}>AR</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="alt-section-heading"><h2>{L.keyMetrics}</h2></div>
|
||||
|
||||
Reference in New Issue
Block a user