|
|
@@ -54,24 +54,6 @@ export default class GridEditModal extends React.PureComponent {
|
|
|
this.cancel();
|
|
|
}
|
|
|
|
|
|
- /* showBgCols() {
|
|
|
- const cols = [];
|
|
|
- for (let i = 0; i < 12; i++) {
|
|
|
- // [bg-light:TODO support dark mode by GW-3037]
|
|
|
- cols.push(<div className="bg-light grid-bg-col col-1"></div>);
|
|
|
- }
|
|
|
- return cols;
|
|
|
- } */
|
|
|
-
|
|
|
- /* showEditableCols() {
|
|
|
- const cols = [];
|
|
|
- for (let i = 0; i < 12; i++) {
|
|
|
- // [bg-light:TODO support dark mode by GW-3037]
|
|
|
- cols.push(<div className="bg-dark grid-bg-col col-1"></div>);
|
|
|
- }
|
|
|
- return cols;
|
|
|
- } */
|
|
|
-
|
|
|
render() {
|
|
|
return (
|
|
|
<Modal isOpen={this.state.show} toggle={this.cancel} size="xl">
|