diff --git a/templates/folder_secret_config_editor.html b/templates/folder_secret_config_editor.html index 26db61b..41f3e2d 100644 --- a/templates/folder_secret_config_editor.html +++ b/templates/folder_secret_config_editor.html @@ -55,10 +55,17 @@ const key = rec.secret; const isEdit = editing.has(key); const cls = isEdit ? 'unlocked' : 'locked'; + + // Determine if entry has expired + const validityISO = formatISO(rec.validity); + const expired = validityISO ? (new Date(validityISO) < new Date()) : false; + + // Build card HTML let html = `