mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Fixed lint
This commit is contained in:
parent
d82cfb1d57
commit
cee94217a8
1 changed files with 3 additions and 5 deletions
|
@ -20,11 +20,9 @@ export default class Debug extends Component {
|
|||
}
|
||||
|
||||
get emailError() {
|
||||
if (this.post.email?.error) {
|
||||
return {
|
||||
message: this.post.email.error
|
||||
}
|
||||
}
|
||||
return {
|
||||
message: this.post.email?.error || 'Failed to send email!'
|
||||
};
|
||||
}
|
||||
|
||||
get emailSettings() {
|
||||
|
|
Loading…
Add table
Reference in a new issue