mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Fix error dialog
This commit is contained in:
parent
8a7af811da
commit
310224c0df
2 changed files with 2 additions and 2 deletions
|
@ -564,7 +564,7 @@ export default defineComponent({
|
|||
this.posting = false;
|
||||
os.dialog({
|
||||
type: 'error',
|
||||
text: err.message + '<br>' + (err as any).id,
|
||||
text: err.message + '\n' + (err as any).id,
|
||||
});
|
||||
});
|
||||
},
|
||||
|
|
|
@ -75,7 +75,7 @@ export function apiWithDialog(
|
|||
promiseDialog(promise, onSuccess, onFailure ? onFailure : (e) => {
|
||||
dialog({
|
||||
type: 'error',
|
||||
text: e.message + '<br>' + (e as any).id,
|
||||
text: e.message + '\n' + (e as any).id,
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue