mirror of
https://github.com/go-gitea/gitea.git
synced 2025-04-08 17:05:45 +02:00
fix
This commit is contained in:
parent
a212ff6bb0
commit
605c5d4a07
@ -25,9 +25,12 @@ const doLoadChildren = async () => {
|
||||
collapsed.value = !collapsed.value;
|
||||
if (!collapsed.value && props.loadChildren) {
|
||||
isLoading.value = true;
|
||||
const _children = await props.loadChildren(props.item.path);
|
||||
children.value = _children;
|
||||
isLoading.value = false;
|
||||
try {
|
||||
const _children = await props.loadChildren(props.item.path);
|
||||
children.value = _children;
|
||||
} finally {
|
||||
isLoading.value = false;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user