-import { Component, Input, OnChanges, OnInit, SimpleChanges } from '@angular/core';
+import { Component, Input, OnChanges, OnInit, SimpleChanges, ViewChild } from '@angular/core';
import { I18n } from '@ngx-translate/i18n-polyfill';
import * as _ from 'lodash';
+import { TabsetComponent } from 'ngx-bootstrap/tabs';
import { HostService } from '../../../shared/api/host.service';
import { OsdService } from '../../../shared/api/osd.service';
styleUrls: ['./smart-list.component.scss']
})
export class SmartListComponent implements OnInit, OnChanges {
+ @ViewChild('innerTabset', { static: false })
+ innerTabset: TabsetComponent;
+
@Input()
osdId: number = null;
@Input()
smartDataColumns: CdTableColumn[];
+ isEmpty = _.isEmpty;
+
constructor(
private i18n: I18n,
private osdService: OsdService,