fixes trail filter categories
This commit is contained in:
@@ -157,7 +157,7 @@
|
||||
on:change={() => setCategoryFilter(category)}
|
||||
/>
|
||||
<label for="{category.name}-checkbox" class="ms-2 text-sm"
|
||||
>{category.name}</label
|
||||
>{$_(category.name)}</label
|
||||
>
|
||||
</div>
|
||||
{/each}
|
||||
|
||||
@@ -111,7 +111,7 @@
|
||||
"list": "{n, plural, =1 {Liste} other {Listen}}",
|
||||
"list-not-shared": "",
|
||||
"list-saved-successfully": "",
|
||||
"list-share-warning": "Sharing a list automatically shares all trails contained in it.",
|
||||
"list-share-warning": "",
|
||||
"list-share-warning-update": "",
|
||||
"location": "Standort",
|
||||
"login": "Login",
|
||||
|
||||
@@ -111,7 +111,7 @@
|
||||
"list": "{n, plural, =1 {List} other {Lists}}",
|
||||
"list-not-shared": "Not shared with anyone",
|
||||
"list-saved-successfully": "List saved successfully",
|
||||
"list-share-warning": "",
|
||||
"list-share-warning": "Sharing a list automatically shares all trails contained in it.",
|
||||
"list-share-warning-update": "Added trails will be shared with everyone that has access to this list.",
|
||||
"location": "Location",
|
||||
"login": "Login",
|
||||
|
||||
@@ -18,5 +18,5 @@ export async function categories_index(f: (url: RequestInfo | URL, config?: Requ
|
||||
|
||||
categories.set(response);
|
||||
|
||||
return response;
|
||||
return response as Category[];
|
||||
}
|
||||
Reference in New Issue
Block a user