fix: auto close version modal after create (#5108)

* fix: auto closing version modal

* hide on next tick
This commit is contained in:
Truman Gao
2026-01-13 13:50:33 -07:00
committed by GitHub
parent c498230ebf
commit 6030cb560c

View File

@@ -643,7 +643,10 @@ export function createManageVersionContext(
// Wait for upload to complete
await uploadHandle.promise
isUploading.value = false
await nextTick()
modal.value?.hide()
addNotification({
title: 'Project version created',
text: 'The version has been successfully added to your project.',