@@ -950,15 +950,13 @@ export class EventsSheetComponentWithoutHandle extends React.Component<
950950 label : i18n . _ ( t `Add Ordering` ) ,
951951 click : ( ) => this . _addOrdering ( ) ,
952952 visible :
953- this . _selectionIsForEachEvent ( ) &&
954- ! this . _selectionForEachHasOrderBy ( ) ,
953+ this . _selectionIsForEachEvent ( ) && ! this . _selectionForEachHasOrderBy ( ) ,
955954 } ,
956955 {
957956 label : i18n . _ ( t `Remove Ordering` ) ,
958957 click : ( ) => this . _removeOrdering ( ) ,
959958 visible :
960- this . _selectionIsForEachEvent ( ) &&
961- this . _selectionForEachHasOrderBy ( ) ,
959+ this . _selectionIsForEachEvent ( ) && this . _selectionForEachHasOrderBy ( ) ,
962960 } ,
963961 { type : 'separator' } ,
964962 {
@@ -1160,9 +1158,7 @@ export class EventsSheetComponentWithoutHandle extends React.Component<
11601158 _selectionForEachHasOrderBy = ( ) : boolean => {
11611159 const eventContext = getLastSelectedEventContext ( this . state . selection ) ;
11621160 if ( ! eventContext ) return false ;
1163- if (
1164- eventContext . event . getType ( ) !== 'BuiltinCommonInstructions ::ForEach '
1165- )
1161+ if ( eventContext . event . getType ( ) !== 'BuiltinCommonInstructions ::ForEach ')
11661162 return false ;
11671163 const forEachEvent = gd . asForEachEvent ( eventContext . event ) ;
11681164 return ! ! forEachEvent . getOrderBy ( ) ;
@@ -1171,9 +1167,7 @@ export class EventsSheetComponentWithoutHandle extends React.Component<
11711167 _addOrdering = ( ) => {
11721168 const eventContext = getLastSelectedEventContext ( this . state . selection ) ;
11731169 if ( ! eventContext ) return ;
1174- if (
1175- eventContext . event . getType ( ) !== 'BuiltinCommonInstructions::ForEach'
1176- )
1170+ if ( eventContext . event . getType ( ) !== 'BuiltinCommonInstructions::ForEach' )
11771171 return ;
11781172
11791173 const forEachEvent = gd . asForEachEvent ( eventContext . event ) ;
@@ -1194,9 +1188,7 @@ export class EventsSheetComponentWithoutHandle extends React.Component<
11941188 _removeOrdering = ( ) = > {
11951189 const eventContext = getLastSelectedEventContext ( this . state . selection ) ;
11961190 if ( ! eventContext ) return ;
1197- if (
1198- eventContext . event . getType ( ) !== 'BuiltinCommonInstructions::ForEach'
1199- )
1191+ if ( eventContext . event . getType ( ) !== 'BuiltinCommonInstructions::ForEach' )
12001192 return ;
12011193
12021194 const forEachEvent = gd . asForEachEvent ( eventContext . event ) ;
0 commit comments