File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
webview/src/experiments/components Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -924,7 +924,7 @@ describe('App', () => {
924924 fireEvent . contextMenu ( mainRow , { bubbles : true } )
925925 jest . advanceTimersByTime ( 100 )
926926
927- const starOption = screen . getByText ( 'Star Experiments (2) ' )
927+ const starOption = screen . getByText ( 'Star Experiments' )
928928 fireEvent . click ( starOption )
929929
930930 expect ( mockPostMessage ) . toBeCalledTimes ( 1 )
Original file line number Diff line number Diff line change @@ -72,19 +72,19 @@ const getMultiSelectMenuOptions = (selectedRowsList: RowProp[]) => {
7272 const toggleStarOption = ( ids : string [ ] , label : string ) =>
7373 experimentMenuOption (
7474 ids ,
75- label . replace ( '{qty}' , ` ${ ids . length } ` ) ,
75+ label ,
7676 MessageFromWebviewType . TOGGLE_EXPERIMENT_STAR ,
7777 ids . length === 0
7878 )
7979
8080 return [
8181 toggleStarOption (
8282 unstarredExperiments . map ( value => value . row . values . id ) ,
83- 'Star Experiments ({qty}) '
83+ 'Star Experiments'
8484 ) ,
8585 toggleStarOption (
8686 starredExperiments . map ( value => value . row . values . id ) ,
87- 'Unstar Experiments ({qty}) '
87+ 'Unstar Experiments'
8888 ) ,
8989 experimentMenuOption (
9090 removableRowIds ,
You can’t perform that action at this time.
0 commit comments