enhance(frontend): improve migration of old settings
This commit is contained in:
parent
1ede45c8fb
commit
6ef5c8bb92
6 changed files with 18 additions and 8 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue