mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 06:15:28 +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 label="admin.api.last_used"}}
|
||||
{{#if k.last_used_at}}
|
||||
{{format-date k.last_used_at leaveAgo="true"}}
|
||||
{{#if model.last_used_at}}
|
||||
{{format-date model.last_used_at leaveAgo="true"}}
|
||||
{{else}}
|
||||
{{i18n "admin.api.never_used"}}
|
||||
{{/if}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user