mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 11:12:23 +08:00
FIX: Correct display of last used date in API key details UI
This commit is contained in:
parent
6275c05c0d
commit
99b0697bd9
|
@ -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}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user