File tree Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -1697,9 +1697,7 @@ const ActionFooterStyled = styled(DefaultFooterStyled)`
1697
1697
padding: 0 0px 0px 0px;
1698
1698
`
1699
1699
1700
- const HighlightActionsBox = styled . div < {
1701
- compactVersion : boolean
1702
- } > `
1700
+ const HighlightActionsBox = styled . div < { } > `
1703
1701
position: absolute;
1704
1702
right: 0px;
1705
1703
display: flex;
Original file line number Diff line number Diff line change @@ -1066,9 +1066,10 @@ export class DashboardContainer extends StatefulUIElement<
1066
1066
} )
1067
1067
} }
1068
1068
spaceSearchSuggestions = { this . state . spaceSearchSuggestions }
1069
- shiftSelectItems = { ( itemData ) =>
1069
+ shiftSelectItems = { ( itemId : string , type : 'notes' | 'pages' ) =>
1070
1070
this . processEvent ( 'shiftSelectItems' , {
1071
- item : itemData ,
1071
+ itemId : itemId ,
1072
+ type : type ,
1072
1073
} )
1073
1074
}
1074
1075
pageInteractionProps = { {
Original file line number Diff line number Diff line change @@ -769,7 +769,9 @@ export default class SearchResultsContainer extends React.Component<
769
769
interactionProps . onMatchingTextToggleClick
770
770
}
771
771
selectItem = { this . props . onBulkSelect }
772
- shiftSelectItem = { ( ) => this . shiftSelectItems ( page . pageId ) }
772
+ shiftSelectItem = { ( ) =>
773
+ this . props . shiftSelectItems ( page . pageId , 'pages' )
774
+ }
773
775
isBulkSelected = { this . props . selectedItems ?. includes (
774
776
page . normalizedUrl ,
775
777
) }
Original file line number Diff line number Diff line change @@ -323,7 +323,10 @@ export type Events = UIEvent<{
323
323
setPageTagPickerShown : PageEventArgs & { isShown : boolean }
324
324
setPageShareMenuShown : PageEventArgs & { isShown : boolean }
325
325
setPageNotesShown : PageEventArgs & { areShown : boolean }
326
- shiftSelectItems : PageEventArgs & { selectedIndex ; type : 'notes' | 'pages' }
326
+ shiftSelectItems : {
327
+ itemId : string
328
+ type : 'notes' | 'pages'
329
+ }
327
330
onMatchingTextToggleClick : PageEventArgs
328
331
setActivePage : {
329
332
activePage : boolean
You can’t perform that action at this time.
0 commit comments