FIX: We should always close the modal when clicking the show post button (#14)

This commit is contained in:
Roman Rizzi 2020-03-06 09:19:49 -03:00 committed by GitHub
parent 339cd31d76
commit f94c9aaab3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -35,9 +35,13 @@
</div> </div>
{{#if n.post_id}} {{#if n.post_id}}
<a class="btn btn-small" href={{n.post_url}}> {{d-button
{{i18n "user_notes.show_post"}} class="btn btn-small"
</a> href=n.post_url
action=(route-action "closeModal")
title="user_notes.show_post"
translatedLabel=(i18n "user_notes.show_post")
}}
{{/if}} {{/if}}
</div> </div>