diff --git a/src/common/table.js b/src/common/table.js index 87a52be..b1c32f5 100644 --- a/src/common/table.js +++ b/src/common/table.js @@ -103,8 +103,9 @@ class CustomTable extends Component { // add buttons if (child.props.editButton) { - cell.push( Edit } > - ); + let disable = (typeof data.managedexternally !== "undefined" && data.managedexternally); + cell.push({disable? "Externally managed ICs cannot be edited" : "edit"} } > + ); } if (child.props.deleteButton) {