Skip to content

Commit

Permalink
enable function test editor
Browse files Browse the repository at this point in the history
  • Loading branch information
MauricioUyaguari committed Mar 10, 2024
1 parent 0d0e670 commit 9d8cc7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
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

0 comments on commit 9d8cc7f

Please sign in to comment.