mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 08:20:13 +01:00
fix linting
This commit is contained in:
parent
7c825ed491
commit
436db5333b
3 changed files with 9 additions and 3 deletions
|
|
@ -62,7 +62,6 @@ export class PromotionComponent implements OnInit {
|
||||||
onCreateConfirm(event): void {
|
onCreateConfirm(event): void {
|
||||||
if (window.confirm('Are you sure you want to save?')) {
|
if (window.confirm('Are you sure you want to save?')) {
|
||||||
event.confirm.resolve();
|
event.confirm.resolve();
|
||||||
console.log('hooray ' + event.newData.code);
|
|
||||||
} else {
|
} else {
|
||||||
event.confirm.reject();
|
event.confirm.reject();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,12 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { NbCardModule, NbIconModule, NbInputModule, NbTreeGridModule, NbButtonModule, NbCheckboxModule, NbRadioModule } from '@nebular/theme';
|
import {
|
||||||
|
NbCardModule,
|
||||||
|
NbIconModule,
|
||||||
|
NbInputModule,
|
||||||
|
NbTreeGridModule,
|
||||||
|
NbButtonModule,
|
||||||
|
NbCheckboxModule,
|
||||||
|
NbRadioModule} from '@nebular/theme';
|
||||||
import { Ng2SmartTableModule } from 'ng2-smart-table';
|
import { Ng2SmartTableModule } from 'ng2-smart-table';
|
||||||
|
|
||||||
import { ThemeModule } from '../../@theme/theme.module';
|
import { ThemeModule } from '../../@theme/theme.module';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue