enhance(frontend): improve migration of old settings

This commit is contained in:
syuilo 2025-04-07 10:21:49 +09:00
parent 1ede45c8fb
commit 6ef5c8bb92
6 changed files with 18 additions and 8 deletions

View file

@ -547,12 +547,13 @@ export function success(): Promise<void> {
});
}
export function waiting(): Promise<void> {
export function waiting(text?: string | null): Promise<void> {
return new Promise(resolve => {
const showing = ref(true);
const { dispose } = popup(MkWaitingDialog, {
success: false,
showing: showing,
text,
}, {
done: () => resolve(),
closed: () => dispose(),