mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-22 15:15:12 +08:00
fix(templates): fix when the "no templates" message is displayed
This commit is contained in:
parent
67a194f5fa
commit
6ae7fb7aef
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ class PreferencesTemplates extends React.Component
|
|||
else @_renderName()
|
||||
}
|
||||
{if @state.editState isnt "new" then editor}
|
||||
{if @state.editState is "new" then noTemplatesMessage}
|
||||
{if @state.templates.length==0 then noTemplatesMessage}
|
||||
</section>
|
||||
|
||||
<section className="templates-instructions">
|
||||
|
|
Loading…
Reference in a new issue