[mastodon-client] Actually display early errors in the OAuth process

This commit is contained in:
Laura Hausmann 2023-10-14 14:45:23 +02:00
parent c7e0659cfb
commit 0dc2d5efa0
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -99,6 +99,9 @@ if ($i) {
client_id: props.client_id, client_id: props.client_id,
}).then(res => { }).then(res => {
name = res.name; name = res.name;
}).catch(reason => {
message = reason;
state = 'error';
}); });
} }