Skip to content

Commit 80b76f5

Browse files
author
FalkWolsky
committed
Avatars Column Type - small fixes 2
1 parent 5c2f095 commit 80b76f5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

client/packages/lowcoder/src/comps/comps/tableComp/column/columnTypeComps/columnAvatarsComp.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ export const alignOptions = [
8686
{ label: <AlignRight />, value: "flex-end" },
8787
] as const;
8888

89-
// props.dispatch(changeChildAction("currentAvatar", item as JSONObject, false));
90-
9189
export const ColumnAvatarsComp = (function () {
9290
const childrenMap = {
9391
style: styleControl(avatarGroupStyle),
@@ -131,6 +129,7 @@ export const ColumnAvatarsComp = (function () {
131129
size={props.avatarSize}
132130
onClick={() => {
133131
props.onEvent("click")
132+
// Falk: TODO: Implement dispatch function to set the currentAvatar
134133
// dispatch(changeChildAction("currentAvatar", item as JSONObject, false));
135134
}}
136135
>

0 commit comments

Comments
 (0)