You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to show usage or delete file from Select file popup crashes with TypeError: Cannot read properties of undefined (reading 'icon')
To Reproduce
add custom schema document "Projects"
add field with type file to "Projects" schema
upload file
delete schema files for "Projects"
on any other document for example "Page" add type file to schema
click Browse button inside that field
on any uploaded files for "Projects" file click Show More button
click Delete or Show Usage.
See error
Expected behavior
Pop up with text "document of the unknown type project"
Which versions of Sanity are you using?
3.39.0
What operating system are you using?
MacOS
Which versions of Node.js / npm are you running?
v20.4.0
The text was updated successfully, but these errors were encountered:
komarovartem
changed the title
TypeError on delete or show usage action in select file popup
TypeError on delete or show usage action in select file popup for deleted documents
Apr 26, 2024
Describe the bug
When trying to show usage or delete file from Select file popup crashes with
TypeError: Cannot read properties of undefined (reading 'icon')
To Reproduce
file
to "Projects" schemafile
to schemaExpected behavior
Pop up with text "document of the unknown type project"
Which versions of Sanity are you using?
3.39.0
What operating system are you using?
MacOS
Which versions of Node.js / npm are you running?
v20.4.0
The text was updated successfully, but these errors were encountered: