Issue FarmBot#1302 'Delete' buttons are now fa-times
parent
9b505c2250
commit
2eaee043e4
|
@ -28,7 +28,7 @@ export function KeyValEditRow(p: Props) {
|
|||
<button
|
||||
className="red fb-button"
|
||||
onClick={p.onClick}>
|
||||
<i className="fa fa-minus" />
|
||||
<i className="fa fa-times" />
|
||||
</button>
|
||||
</Col>
|
||||
</Row>;
|
||||
|
|
|
@ -66,7 +66,7 @@ interface DeleteButtonProps {
|
|||
onDestroy?: Function;
|
||||
}
|
||||
|
||||
const MINUS_BTN = <i className="fa fa-minus" />;
|
||||
const DELETE_BTN = <i className="fa fa-times" />;
|
||||
|
||||
export const DeleteButton = (props: DeleteButtonProps) =>
|
||||
<button
|
||||
|
@ -76,5 +76,5 @@ export const DeleteButton = (props: DeleteButtonProps) =>
|
|||
.dispatch(destroy(props.uuid))
|
||||
.then(props.onDestroy || (() => { }));
|
||||
}}>
|
||||
{props.children ? props.children : MINUS_BTN}
|
||||
{props.children ? props.children : DELETE_BTN}
|
||||
</button >;
|
||||
|
|
Loading…
Reference in New Issue