File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,19 @@ const GlobalControls = ({
1010 handleSearch,
1111 searchPlaceholder = "Search" ,
1212 searchValue,
13+ tableMeta,
1314} ) => {
1415 const wordsCount = searchValue ?. split ( " " ) . filter ( x => ! ! x ) . length
1516 return (
16- < Flex width = "100%" zIndex = { 10 } background = "mainBackground" padding = { [ 0 , 0 , 4 ] } >
17+ < Flex
18+ width = "100%"
19+ zIndex = { 10 }
20+ background = "mainBackground"
21+ padding = { [ 0 , 0 , 4 ] }
22+ { ...tableMeta ?. bulkActionsStyles }
23+ >
1724 { handleSearch && (
18- < Flex width = { { max : 100 , base : "40%" } } >
25+ < Flex width = { { max : 100 , base : "40%" } } { ... tableMeta ?. searchContainerStyles } >
1926 < SearchInput
2027 data-testid = "table-global-search-filter"
2128 data-ga = { `${ dataGa } ::search-${ wordsCount } -words::table-filter` }
@@ -26,6 +33,7 @@ const GlobalControls = ({
2633 handleSearch ( e . target . value )
2734 } ) }
2835 placeholder = { searchPlaceholder }
36+ { ...tableMeta ?. searchStyles }
2937 />
3038 </ Flex >
3139 ) }
Original file line number Diff line number Diff line change @@ -186,6 +186,7 @@ const NetdataTable = ({
186186 dataGa = { dataGa }
187187 handleSearch = { onGlobalSearchChange ? onGlobalFilterChange : null }
188188 searchValue = { globalFilter }
189+ tableMeta = { tableMeta }
189190 />
190191 ) : null }
191192 < Flex column ref = { scrollParentRef } overflow = "auto" width = "100%" height = "100%" >
You can’t perform that action at this time.
0 commit comments