mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-01 02:41:39 -05:00
Fixed "Update support address" button showing error on success
no issue - the API response is now empty so returning the parsed response is null/undefined resulting in `<GhTaskButton>` showing a failure state - switched to returning an enforced `true` value, if there was an error that's handled by the try/catch
This commit is contained in:
parent
3f95a5e00f
commit
a90f9d275c
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ export default ModalComponent.extend({
|
|||
}
|
||||
});
|
||||
// this.toggleProperty('showSupportAddressConfirmation');
|
||||
return response;
|
||||
return true;
|
||||
} catch (e) {
|
||||
// Failed to send email, retry
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue