File tree 4 files changed +6
-3
lines changed
pages/VariantEntity/Consequences
4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @ferlab/ui" ,
3
- "version" : " 4.7.9 " ,
3
+ "version" : " 4.8.0 " ,
4
4
"description" : " Core components for scientific research data portals" ,
5
5
"publishConfig" : {
6
6
"access" : " public"
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ const Pagination = ({
19
19
onChange,
20
20
onPageChange,
21
21
onShowSizeChange,
22
+ onViewQueryChange,
22
23
queryConfig,
23
24
searchAfter,
24
25
setQueryConfig,
@@ -39,6 +40,8 @@ const Pagination = ({
39
40
size : viewPerQuery ,
40
41
sort : queryConfig . operations ?. previous ? reverseSortDirection ( queryConfig ) : queryConfig . sort ,
41
42
} ) ;
43
+
44
+ onViewQueryChange ?.( viewPerQuery ) ;
42
45
onShowSizeChange ( ) ;
43
46
} }
44
47
options = { getPaginationOptions ( dictionary ?. pagination ?. view || '{value} / view' ) }
@@ -97,7 +100,6 @@ const Pagination = ({
97
100
searchAfter : searchAfter ?. tail ,
98
101
sort : queryConfig . operations ?. previous ? reverseSortDirection ( queryConfig ) : queryConfig . sort ,
99
102
} ) ;
100
-
101
103
onPageChange ( ) ;
102
104
onChange ( current + 1 , queryConfig . size ) ;
103
105
} }
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ export interface IPaginationProps {
16
16
setQueryConfig : TQueryConfigCb ;
17
17
queryConfig : IQueryConfig ;
18
18
defaultViewPerQuery ?: PaginationViewPerQuery ;
19
+ onViewQueryChange ?: ( viewPerQuery : PaginationViewPerQuery ) => void ;
19
20
searchAfter ?: ISearchAfter ;
20
21
onPageChange : ( ) => void ;
21
22
onShowSizeChange : ( ) => void ;
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ export const getColumns = (dictionary: IVariantEntityDictionary['consequences'])
207
207
dataSource = { consequences }
208
208
renderItem = { ( item : any , id ) => (
209
209
< StackLayout className = { styles . cellList } horizontal key = { id } >
210
- < Text > { item } </ Text >
210
+ < Text > { item . replaceAll ( '_' , ' ' ) } </ Text >
211
211
</ StackLayout >
212
212
) }
213
213
/>
You can’t perform that action at this time.
0 commit comments