mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 08:23:09 +02:00
Fix error dialog
This commit is contained in:
parent
84a7a9555f
commit
9394f4f540
2 changed files with 2 additions and 2 deletions
|
@ -564,7 +564,7 @@ export default defineComponent({
|
||||||
this.posting = false;
|
this.posting = false;
|
||||||
os.dialog({
|
os.dialog({
|
||||||
type: 'error',
|
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) => {
|
promiseDialog(promise, onSuccess, onFailure ? onFailure : (e) => {
|
||||||
dialog({
|
dialog({
|
||||||
type: 'error',
|
type: 'error',
|
||||||
text: e.message + '<br>' + (e as any).id,
|
text: e.message + '\n' + (e as any).id,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue