fix(collections): correct asset filter callback
This commit is contained in:
parent
40b130c8d3
commit
9e91203330
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ export const Assets: CollectionConfig = {
|
||||||
{ label: "Revision Requested", value: "revision_requested" },
|
{ label: "Revision Requested", value: "revision_requested" },
|
||||||
],
|
],
|
||||||
defaultValue: "in_progress",
|
defaultValue: "in_progress",
|
||||||
filterOptions: ({ options, _, req }) => {
|
filterOptions: ({ options, req }) => {
|
||||||
return !isDeveloper({ req })
|
return !isDeveloper({ req })
|
||||||
? options.filter((option) =>
|
? options.filter((option) =>
|
||||||
typeof option === "string"
|
typeof option === "string"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue