Issue FarmBot#1302 'Delete' buttons are now fa-times

pull/1390/head
Ascend 2019-08-22 19:43:11 +02:00
parent 9b505c2250
commit 2eaee043e4
2 changed files with 3 additions and 3 deletions

View File

@ -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>;

View File

@ -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 >;