ソースを参照

fix: wrong usage of created_at on the modal for API Key (#7548)

tags/0.7.2
teruo OSHIDA(JP_SMN) 1年前
コミット
3e6a6bf396
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      web/app/components/develop/secret-key/secret-key-modal.tsx

+ 1
- 1
web/app/components/develop/secret-key/secret-key-modal.tsx ファイルの表示

@@ -115,7 +115,7 @@ const SecretKeyModal = ({
<div className='flex items-center text-sm font-normal text-gray-700 border-b border-solid h-9' key={api.id}>
<div className='flex-shrink-0 w-64 px-3 font-mono truncate'>{generateToken(api.token)}</div>
<div className='flex-shrink-0 px-3 truncate w-[200px]'>{formatTime(Number(api.created_at), t('appLog.dateTimeFormat') as string)}</div>
<div className='flex-shrink-0 px-3 truncate w-[200px]'>{api.last_used_at ? formatTime(Number(api.created_at), t('appLog.dateTimeFormat') as string) : t('appApi.never')}</div>
<div className='flex-shrink-0 px-3 truncate w-[200px]'>{api.last_used_at ? formatTime(Number(api.last_used_at), t('appLog.dateTimeFormat') as string) : t('appApi.never')}</div>
<div className='flex flex-grow px-3'>
<Tooltip
selector={`key-${api.token}`}

読み込み中…
キャンセル
保存