fix(web): sort folders (#15691)

fixes #13145
This commit is contained in:
Carsten Otto
2025-01-26 22:07:22 +01:00
committed by GitHub
parent 72a55c13b6
commit e864811a85
4 changed files with 3 additions and 4 deletions

View File

@@ -15,7 +15,7 @@
</script>
<ul class="list-none ml-2">
{#each Object.entries(items) as [path, tree]}
{#each Object.entries(items).sort() as [path, tree]}
{@const value = normalizeTreePath(`${parent}/${path}`)}
{@const key = value + getColor(value)}
{#key key}

View File

@@ -24,7 +24,6 @@ class FoldersStore {
const uniquePaths = await getUniqueOriginalPaths();
this.uniquePaths.push(...uniquePaths);
this.uniquePaths.sort();
}
bustAssetCache() {