Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- constructor(props) {
- super(props);
- this.state = {
- tabledata: [],
- };
- this.tabs = makeTabs([
- {
- id: 'tabledata',
- name: translate('feature.tabledata.tab'),
- render: this._renderTableContent.bind(this)
- }
- ]);
- }
- _renderTableContent() {
- let tabContent = null;
- if (this.state.tabledata instanceof Array) {
- if (this.state.tabledata.length === 0) {
- // this.setState({ trustedadvisor: null });
- this._getTableContent();
- }
- }
- tabContent = (<ContentTable
- tablecontent={this.state.tabledata}
- />);
- return tabContent;
- }
Add Comment
Please, Sign In to add comment