[frontend]: Re-add cluster toggle to Sidepanel
This commit is contained in:
@ -175,6 +175,15 @@ const Sidebar = ({ selectedSources, setSelectedSources, clusteringEnabled, setCl
|
||||
setEnabledSources={setEnabledSources}
|
||||
/>
|
||||
))}
|
||||
<div style={{marginTop: "10px", display: "flex", alignItems: "center", gap: "8px"}}>
|
||||
<input
|
||||
type="checkbox"
|
||||
id="toggleClustering"
|
||||
checked={clusteringEnabled}
|
||||
onChange={() => setClusteringEnabled(!clusteringEnabled)}
|
||||
/>
|
||||
<label htmlFor="toggleClustering">Cluster overlapping icons</label>
|
||||
</div>
|
||||
<button onClick={handleSubmit} style={{marginTop: "10px", color: "white"}}>Submit</button>
|
||||
</div>
|
||||
)}
|
||||
|
Reference in New Issue
Block a user