You've already forked AstralRinth
forked from didirus/AstralRinth
fix: auto close version modal after create (#5108)
* fix: auto closing version modal * hide on next tick
This commit is contained in:
@@ -643,7 +643,10 @@ export function createManageVersionContext(
|
|||||||
// Wait for upload to complete
|
// Wait for upload to complete
|
||||||
await uploadHandle.promise
|
await uploadHandle.promise
|
||||||
|
|
||||||
|
isUploading.value = false
|
||||||
|
await nextTick()
|
||||||
modal.value?.hide()
|
modal.value?.hide()
|
||||||
|
|
||||||
addNotification({
|
addNotification({
|
||||||
title: 'Project version created',
|
title: 'Project version created',
|
||||||
text: 'The version has been successfully added to your project.',
|
text: 'The version has been successfully added to your project.',
|
||||||
|
|||||||
Reference in New Issue
Block a user