Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
🐛 Fixed "Post URL matches" text displaying when no template match is …
Browse files Browse the repository at this point in the history
…found (#896)

no issue

- adding missing conditional so we only display `Post URL matches post-slug-name.hbs` when a match is found
  • Loading branch information
kevinansfield authored and kirrg001 committed Oct 13, 2017
1 parent 3da1702 commit 933a5c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/templates/components/gh-psm-template-select.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
{{inline-svg "arrow-down-small"}}
</span>
</span>
<p>Post URL matches {{matchedSlugTemplate.filename}}</p>
{{#if matchedSlugTemplate}}
<p>Post URL matches {{matchedSlugTemplate.filename}}</p>
{{/if}}
</div>
{{/if}}

0 comments on commit 933a5c1

Please sign in to comment.