CC: @connorRigby

This commit is contained in:
Rick Carlino 2018-05-07 17:58:22 -05:00
parent bac1d46e18
commit 251c363821

View file

@ -84,7 +84,8 @@ export class FarmwarePanel extends React.Component<FWProps, Partial<FWState>> {
this
.ifFarmwareSelected(label => {
const ok = () => this.setState({ selectedFarmware: label });
getDevice().execScript(label).then(ok, ok);
const no = commandErr("Farmware execution");
getDevice().execScript(label).then(ok, no);
});
}