mirror of
https://github.com/System-End/scraps.git
synced 2026-04-19 19:45:14 +00:00
fix dialog saying error when request was succesful
This commit is contained in:
parent
ceec8c9c2b
commit
ce80b47169
1 changed files with 2 additions and 0 deletions
|
|
@ -80,8 +80,10 @@
|
|||
)
|
||||
);
|
||||
await refreshUserScraps();
|
||||
alertType = 'info';
|
||||
alertMessage = `Refunded ${data.refundedCost} scraps`;
|
||||
} catch (e) {
|
||||
alertType = 'error';
|
||||
alertMessage = $t.refinery.failedToUndo || 'Failed to undo upgrade';
|
||||
} finally {
|
||||
undoing = null;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue