Let every XAI input thumbnail toggle hide, not only ones already flagged.

The picker hid the eye on unflagged stills, so a visible input could not be concealed.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-09-01 08:36:34 -05:00
co-authored by Cursor
parent d80a44cc2d
commit ed04dcfee3
3 changed files with 31 additions and 26 deletions
-3
View File
@@ -21,8 +21,5 @@ export default defineEventHandler(async (event) => {
else await renameStill(owner, id, body.name || '')
}
if (hasHide) setStillHidden(owner, id, body.hideInput === true, family)
if (hasHide && !folderId && !hasName) {
return { id, hideInput: body.hideInput === true }
}
return publicLibrary(event)
})