File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
client/packages/lowcoder/src
comps/comps/tableComp/column/columnTypeComps Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ import { optionsControl } from "comps/controls/optionsControl";
1717import { BoolControl } from "comps/controls/boolControl" ;
1818import { dropdownControl } from "comps/controls/dropdownControl" ;
1919import { JSONObject } from "util/jsonTypes" ;
20- import { Dispatch } from 'redux' ;
21- import { changeChildAction } from "lowcoder-core" ;
2220
2321const MenuLinkWrapper = styled . div `
2422 > a {
@@ -108,6 +106,7 @@ export const ColumnAvatarsComp = (function () {
108106 ] ,
109107 } )
110108 } ;
109+
111110 return new ColumnTypeCompBuilder (
112111 childrenMap ,
113112 ( props ) => {
@@ -161,13 +160,10 @@ export const ColumnAvatarsComp = (function () {
161160 label : trans ( "avatarGroup.autoColor" )
162161 } ) }
163162 { children . alignment . propertyView ( {
164- label : trans ( "avatarGroup.alignment " ) ,
163+ label : trans ( "table.avatarGroupAlignment " ) ,
165164 radioButton : true ,
166165 } ) }
167- { children . avatars . propertyView ( {
168- newOptionLabel : trans ( "table.option" ) ,
169- title : trans ( "table.optionList" ) ,
170- } ) }
166+ { children . onEvent . propertyView ( ) }
171167 </ >
172168 ) )
173169 . build ( ) ;
Original file line number Diff line number Diff line change @@ -1875,6 +1875,7 @@ export const en = {
18751875 "prefix" : "Prefix" ,
18761876 "suffix" : "Suffix" ,
18771877 "avatars" : "Avatars" ,
1878+ "avatarGroupAlignment" : "Avatars Alignment" ,
18781879 "text" : "Text" ,
18791880 "number" : "Number" ,
18801881 "link" : "Link" ,
You can’t perform that action at this time.
0 commit comments