Compare commits

..

No commits in common. "764bbcf05bba2519d835d393942c1414fa2bb439" and "6ef2d471e9dac992381041d0a2cd9a253ac87e57" have entirely different histories.

View file

@ -108,19 +108,12 @@ export function promiseDialog<T extends Promise<any>>(
showing.value = false; showing.value = false;
if (onFailure) { if (onFailure) {
onFailure(err); onFailure(err);
} else {
if (err.message) {
alert({
type: 'error',
text: err.message,
});
} else { } else {
alert({ alert({
type: 'error', type: 'error',
text: err, text: err,
}); });
} }
}
}); });
// NOTE: dynamic importすると挙動がおかしくなる(showingの変更が伝播しない) // NOTE: dynamic importすると挙動がおかしくなる(showingの変更が伝播しない)