TOTP
-
{totpLive ? formatTotp(totpLive.code) : '------'}
-
Refresh in: {totpLive ? `${totpLive.remain}s` : '--'}
+
+
{totpLive ? formatTotp(totpLive.code) : '------'}
+
+
+ {totpLive ? totpLive.remain : 0}
+
+
)}
-
-
Notes
-
{selectedCipher.decNotes || ''}
-
+ {!!(selectedCipher.decNotes || '').trim() && (
+
+
Notes
+
{selectedCipher.decNotes || ''}
+
+ )}
{(selectedCipher.fields || []).some((x) => parseFieldType(x.type) !== 3) && (
@@ -1244,6 +1295,14 @@ export default function VaultPage(props: VaultPageProps) {
)}
+ {(selectedCipher.creationDate || selectedCipher.revisionDate) && (
+
+
项目历史记录
+
最后编辑于: {formatHistoryTime(selectedCipher.revisionDate)}
+
创建于: {formatHistoryTime(selectedCipher.creationDate)}
+
+ )}
+