Make library hide/show instant on the grid and skip disk checks on browse.
The details pane keeps the real file so inspection is not delayed. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -20,6 +20,9 @@ export default defineEventHandler(async (event) => {
|
||||
if (family) await renameStillFamily(owner, id, body.name || '')
|
||||
else await renameStill(owner, id, body.name || '')
|
||||
}
|
||||
if (hasHide) setStillHidden(owner, id, body.hideInput === true)
|
||||
if (hasHide) setStillHidden(owner, id, body.hideInput === true, family)
|
||||
if (hasHide && !folderId && !hasName) {
|
||||
return { id, hideInput: body.hideInput === true }
|
||||
}
|
||||
return publicLibrary(event)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user