diff --git a/src/client/components/boardComponent.tsx b/src/client/components/boardComponent.tsx index bc50e017b..ffdcfd5a5 100644 --- a/src/client/components/boardComponent.tsx +++ b/src/client/components/boardComponent.tsx @@ -149,7 +149,7 @@ class BoardComponent extends React.Component {
{`No ${boardTree.groupByProperty?.name}`}
-
@@ -173,7 +173,7 @@ class BoardComponent extends React.Component { className={`octo-label ${group.option.color}`} text={group.option.value} onChanged={(text) => { this.propertyNameChanged(group.option, text) }} /> -
@@ -190,7 +190,7 @@ class BoardComponent extends React.Component { )}
-
@@ -210,7 +210,7 @@ class BoardComponent extends React.Component { onDragStart={() => { this.draggedCard = card }} onDragEnd={() => { this.draggedCard = undefined }} /> )} - {/* Columns */} @@ -226,7 +226,7 @@ class BoardComponent extends React.Component { onDragStart={() => { this.draggedCard = card }} onDragEnd={() => { this.draggedCard = undefined }} /> )} - )}
diff --git a/src/client/components/button.tsx b/src/client/components/button.tsx index 2ee2874a9..93ce9ef55 100644 --- a/src/client/components/button.tsx +++ b/src/client/components/button.tsx @@ -6,7 +6,7 @@ type Props = { onClick?: (e: React.MouseEvent) => void style?: React.CSSProperties backgroundColor?: string - text?: string + children?: React.ReactNode title?: string } @@ -20,7 +20,6 @@ export default class Button extends React.Component { style={style} title={this.props.title}> {this.props.children} - {this.props.text}
) } } diff --git a/src/client/components/cardDialog.tsx b/src/client/components/cardDialog.tsx index cf17778cd..5c46916a4 100644 --- a/src/client/components/cardDialog.tsx +++ b/src/client/components/cardDialog.tsx @@ -149,7 +149,7 @@ class CardDialog extends React.Component {
- + }}>...
{icon ?