Skip to content

Commit

Permalink
fix enum
Browse files Browse the repository at this point in the history
  • Loading branch information
znamenskii-ilia committed Feb 17, 2025
1 parent 19cd1ec commit 7957ce3
Showing 1 changed file with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,16 @@ const selectSystemFunctionEntityOptions =
postWindowMessage: createMessage(POST_MESSAGE),
};

return objectKeys(systemFunctions).map((name) => {
return {
value: name,
label: labelMap[name],
optionGroupType: "SystemFunction",
};
});
return (
objectKeys(systemFunctions)
// @ts-expect-error assignRequest doesn't exist in CE repo but added in EE repo
.filter((name) => name !== "assignRequest")
.map((name) => ({
value: name,
label: labelMap[name],
optionGroupType: "SystemFunction",
}))
);
};

export const selectEntityOptions = createSelector(
Expand Down

0 comments on commit 7957ce3

Please sign in to comment.