Unverified Commit 6267c34c authored by Mike Roy's avatar Mike Roy Committed by GitHub
Browse files

Merge pull request #10 from idcc-dev/fr_dev_21_dashboard_drawer_lint

Merge of PRs #7, #8, #9
parents 507d982b 462ac575
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2019
 * InterDigital Communications, Inc.
 * All rights reserved.
 *
 * The information provided herein is the proprietary and confidential
 * information of InterDigital Communications, Inc.
 */
import React, { Component }  from 'react';

import IDDialog from './id-dialog';
import { MEEP_DLG_CONFIRM } from '../../meep-constants';

class IDConfirmDialog extends Component {

  constructor(props) {
    super(props);
    this.state={};
  }

  render() {
    return (
      <IDDialog
        title={this.props.title}
        open={this.props.open}
        onClose={this.props.onClose}
        onSubmit={() => this.props.onSubmit()}
        cydata={MEEP_DLG_CONFIRM}
      >
        <span style={styles.text}>{`Are you sure you want to ${this.props.title.toLowerCase()}?`}</span>
      </IDDialog>
    );
  }
}

const styles = {
  text: {
    color: 'gray'
  }
};

export default IDConfirmDialog;
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ import { TextField, TextFieldHelperText } from '@rmwc/textfield';
import { Checkbox } from '@rmwc/checkbox';
import { Typography } from '@rmwc/typography';

import { updateObject } from '../../util/update';
import { updateObject } from '../../util/object-util';
import IDSelect from '../../components/helper-components/id-select';
import CancelApplyPair from '../../components/helper-components/cancel-apply-pair';
import NCGroup from '../../components/helper-components/nc-group';
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ import { withStyles } from '@material-ui/core/styles';
import { connect } from 'react-redux';
import React, { Component }  from 'react';

import { updateObject } from '../../util/update';
import { updateObject } from '../../util/object-util';

import {
  cfgChangeTable
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ import React, { Component } from 'react';
import { Select } from '@rmwc/select';
import { Grid, GridCell } from '@rmwc/grid';
import { Typography } from '@rmwc/typography';
import { updateObject } from '../../util/update';
import { updateObject } from '../../util/object-util';
import MobilityEventPane from './mobility-event-pane';
import NetworkCharacteristicsEventPane from './network-characteristics-event-pane';

+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ import { withStyles } from '@material-ui/core/styles';
import { connect } from 'react-redux';
import React, { Component }  from 'react';

import { updateObject } from '../../util/update';
import { updateObject } from '../../util/object-util';
import { podsWithServiceMaps } from '../../state/exec';

import {
Loading