Small Tweaks (#17652)

* Ensure that hailo uses correct labelmap

* Make whole button clickable

* Add weblate to readme

* Update docs for HEIC

* Fix explore chip icon logic

* Sort regardless of case

* Don't allow selection

* Fix image uploading
This commit is contained in:
Nicolas Mowen
2025-04-11 08:21:01 -06:00
committed by GitHub
parent 664889d487
commit e9787c5a88
8 changed files with 62 additions and 28 deletions
@@ -462,6 +462,13 @@ export function SubFilterContent({
setSubLabels,
}: SubFilterContentProps) {
const { t } = useTranslation(["components/filter"]);
const sortedSubLabels = useMemo(
() =>
[...allSubLabels].sort((a, b) =>
a.toLowerCase().localeCompare(b.toLowerCase()),
),
[allSubLabels],
);
return (
<div className="overflow-x-hidden">
<DropdownMenuSeparator className="mb-3" />
@@ -482,7 +489,7 @@ export function SubFilterContent({
/>
</div>
<div className="mt-2.5 flex flex-col gap-2.5">
{allSubLabels.map((item) => (
{sortedSubLabels.map((item) => (
<FilterSwitch
key={item}
label={item.replaceAll("_", " ")}