@@ -4,15 +4,11 @@ import React from 'react';
44import  FooterWrapper  from  'src/components/FooterWrapper' ; 
55import  {  libraryTopMatter  }  from  'src/components/library-common' ; 
66import  terraLogo  from  'src/images/brands/terra/logo.svg' ; 
7- import  broadLogo  from  'src/images/library/workflows/broad-square.svg' ; 
87import  dockstoreLogo  from  'src/images/library/workflows/dockstore.svg' ; 
98import  {  Metrics  }  from  'src/libs/ajax/Metrics' ; 
10- import  {  getEnabledBrand  }  from  'src/libs/brand-utils' ; 
119import  colors  from  'src/libs/colors' ; 
1210import  {  getConfig  }  from  'src/libs/config' ; 
1311import  Events ,  {  MetricsEventName  }  from  'src/libs/events' ; 
14- import  {  isFeaturePreviewEnabled  }  from  'src/libs/feature-previews' ; 
15- import  {  FIRECLOUD_UI_MIGRATION  }  from  'src/libs/feature-previews-config' ; 
1612import  *  as  Nav  from  'src/libs/nav' ; 
1713import  *  as  Style  from  'src/libs/style' ; 
1814import  *  as  Utils  from  'src/libs/utils' ; 
@@ -62,12 +58,7 @@ interface WorkflowSourceBoxProps {
6258
6359const  WorkflowSourceBox  =  ( props : WorkflowSourceBoxProps )  =>  { 
6460  const  sendMetrics  =  ( )  =>  { 
65-     // don't send metrics if Broad Methods Repo card and links are shown in UI 
66-     // TODO: remove this if condition when feature flag FIRECLOUD_UI_MIGRATION is removed. 
67-     //       https://broadworkbench.atlassian.net/browse/AN-373 
68-     if  ( props . title  !==  'Broad Methods Repository' )  { 
69-       void  Metrics ( ) . captureEvent ( props . metricsEventName ) ; 
70-     } 
61+     void  Metrics ( ) . captureEvent ( props . metricsEventName ) ; 
7162  } ; 
7263
7364  return  ( 
@@ -145,11 +136,8 @@ const CuratedWorkflowsSection = () => {
145136export  const  WorkflowsLibrary  =  ( )  =>  { 
146137  const  dockstoreUrl  =  `${ getConfig ( ) . dockstoreUrlRoot }  /search?_type=workflow&descriptorType=WDL&searchMode=files` ; 
147138
148-   // Set to static `workflows` and remove feature flag 
149-   const  workflowsRepoUrl : string  =  isFeaturePreviewEnabled ( FIRECLOUD_UI_MIGRATION ) 
150-     ? Nav . getLink ( 'workflows' ) 
151-     : `${ getConfig ( ) . firecloudUrlRoot }  /?return=${ getEnabledBrand ( ) . queryName }  #methods` ; 
152-   const  workflowsRepoLogo  =  isFeaturePreviewEnabled ( FIRECLOUD_UI_MIGRATION )  ? terraLogo  : broadLogo ; 
139+   const  workflowsRepoUrl : string  =  Nav . getLink ( 'workflows' ) ; 
140+   const  workflowsRepoLogo  =  terraLogo ; 
153141
154142  return  ( 
155143    < FooterWrapper  alwaysShow > 
@@ -171,11 +159,7 @@ export const WorkflowsLibrary = () => {
171159                </ div > 
172160                < div  style = { {  marginLeft : 20  } } > 
173161                  < WorkflowSourceBox 
174-                     title = { 
175-                       isFeaturePreviewEnabled ( FIRECLOUD_UI_MIGRATION ) 
176-                         ? 'Terra Workflow Repository' 
177-                         : 'Broad Methods Repository' 
178-                     } 
162+                     title = 'Terra Workflow Repository' 
179163                    description = 'A repository of WDL workflows that offers quick hosting of public and private workflows.' 
180164                    url = { workflowsRepoUrl } 
181165                    logoFilePath = { workflowsRepoLogo } 
0 commit comments