Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable function test editor #2991

Merged
merged 1 commit into from Mar 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changeset/clean-cycles-destroy.md
@@ -0,0 +1,4 @@
---
'@finos/legend-application-studio': patch
'@finos/legend-graph': patch
---
Expand Up @@ -1277,12 +1277,6 @@ export const FunctionEditor = observer(() => {
const openFunctionActivateModal = (): void => {
functionEditorState.activatorPromoteState.showFunctionActivateModal();
};
// tabs
const functionTabs = Object.values(FUNCTION_EDITOR_TAB).filter(
(val) =>
val !== FUNCTION_EDITOR_TAB.TEST_SUITES ||
editorStore.applicationStore.config.options.NonProductionFeatureFlag,
);
return (
<div
data-testid={LEGEND_STUDIO_TEST_ID.FUNCTION_EDITOR}
Expand All @@ -1304,7 +1298,7 @@ export const FunctionEditor = observer(() => {
</div>
<div className="panel__header function-editor__tabs__header">
<div className="function-editor__tabs">
{functionTabs.map((tab) => (
{Object.values(FUNCTION_EDITOR_TAB).map((tab) => (
<div
key={tab}
onClick={changeTab(tab)}
Expand Down