1
0
Fork 0

fix(collections): correct asset filter callback

This commit is contained in:
Jason Fraley 2026-08-21 02:27:57 -04:00
parent 40b130c8d3
commit 9e91203330

View file

@ -26,7 +26,7 @@ export const Assets: CollectionConfig = {
{ label: "Revision Requested", value: "revision_requested" },
],
defaultValue: "in_progress",
filterOptions: ({ options, _, req }) => {
filterOptions: ({ options, req }) => {
return !isDeveloper({ req })
? options.filter((option) =>
typeof option === "string"