diff --git a/src/common/table-column.js b/src/common/table-column.js
index 2711537..fb9905a 100644
--- a/src/common/table-column.js
+++ b/src/common/table-column.js
@@ -39,15 +39,19 @@ class TableColumn extends Component {
checkboxKey: '',
checkboxDisabled: null,
labelStyle: null,
- labelModifier: null
+ labelModifier: null,
+ align: 'left'
};
render() {
- return (
-
- {this.props.title}
- |
- );
+ let style = {
+ textAlign: this.props.align,
+ width: this.props.width
+ };
+
+ return
+ {this.props.title}
+ | ;
}
}
diff --git a/src/common/table.js b/src/common/table.js
index b0a22c4..686d352 100644
--- a/src/common/table.js
+++ b/src/common/table.js
@@ -250,7 +250,7 @@ class CustomTable extends Component {
}
return cell;
- } // addCell
+ }
static getDerivedStateFromProps(props, state) {
const rows = CustomTable.getRows(props);
@@ -329,9 +329,13 @@ class CustomTable extends Component {
onCellFocus: () => { },
onCellBlur: () => { }
};
+ let cellStyle = {
+ textAlign: children[cellIndex].props.align
+ };
return |
this.deleteFile(index)}
editButton
diff --git a/src/ic/ics.js b/src/ic/ics.js
index d664107..b0a5016 100644
--- a/src/ic/ics.js
+++ b/src/ic/ics.js
@@ -445,6 +445,7 @@ class InfrastructureComponents extends Component {
{this.state.currentUser.role === "Admin" ?
this.isLocalIC(index, ics)}
exportButton
diff --git a/src/scenario/scenario.js b/src/scenario/scenario.js
index 1e9c0c0..90d0586 100644
--- a/src/scenario/scenario.js
+++ b/src/scenario/scenario.js
@@ -821,6 +821,7 @@ class Scenario extends React.Component {
this.downloadResultData(index)}
/>
this.setState({