Skip to content

Commit 6030cb5

Browse files
authored
fix: auto close version modal after create (#5108)
* fix: auto closing version modal * hide on next tick
1 parent c498230 commit 6030cb5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

apps/frontend/src/providers/version/manage-version-modal.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,10 @@ export function createManageVersionContext(
643643
// Wait for upload to complete
644644
await uploadHandle.promise
645645

646+
isUploading.value = false
647+
await nextTick()
646648
modal.value?.hide()
649+
647650
addNotification({
648651
title: 'Project version created',
649652
text: 'The version has been successfully added to your project.',

0 commit comments

Comments
 (0)