FIX: Correct display of last used date in API key details UI

This commit is contained in:
David Taylor 2019-11-07 23:41:43 +00:00
parent 6275c05c0d
commit 99b0697bd9

View File

@ -45,8 +45,8 @@
{{/admin-form-row}} {{/admin-form-row}}
{{#admin-form-row label="admin.api.last_used"}} {{#admin-form-row label="admin.api.last_used"}}
{{#if k.last_used_at}} {{#if model.last_used_at}}
{{format-date k.last_used_at leaveAgo="true"}} {{format-date model.last_used_at leaveAgo="true"}}
{{else}} {{else}}
{{i18n "admin.api.never_used"}} {{i18n "admin.api.never_used"}}
{{/if}} {{/if}}