fix: foreign key issue with thumbnails (#824)

This commit is contained in:
Matt
2025-06-29 12:24:22 -04:00
committed by GitHub
parent d83767f4c2
commit f30c9d9156
8 changed files with 80 additions and 17 deletions

View File

@@ -57,7 +57,7 @@ function filterOutSubtree(tree: TreeItem[], excludeId: string): TreeItem[] {
export function useFlatLocations(excludeSubtreeForLocation?: LocationSummary): Ref<FlatTreeItem[]> {
const locations = useLocationStore();
if (locations.tree === null) {
locations.refreshTree();
}