mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
fix compliation error on widgets page
This commit is contained in:
committed by
Matt Hill
parent
26cbbc0c56
commit
ee54b355af
@@ -9,8 +9,8 @@ import {
|
|||||||
} from '@angular/core'
|
} from '@angular/core'
|
||||||
import { TuiDialogContext, TuiDialogService } from '@taiga-ui/core'
|
import { TuiDialogContext, TuiDialogService } from '@taiga-ui/core'
|
||||||
import {
|
import {
|
||||||
PolymorpheusComponent,
|
|
||||||
POLYMORPHEUS_CONTEXT,
|
POLYMORPHEUS_CONTEXT,
|
||||||
|
PolymorpheusComponent,
|
||||||
} from '@tinkoff/ng-polymorpheus'
|
} from '@tinkoff/ng-polymorpheus'
|
||||||
import { PatchDB } from 'patch-db-client'
|
import { PatchDB } from 'patch-db-client'
|
||||||
import { DataModel, Widget } from '../../services/patch-db/data-model'
|
import { DataModel, Widget } from '../../services/patch-db/data-model'
|
||||||
@@ -84,7 +84,7 @@ export class WidgetsPage {
|
|||||||
|
|
||||||
add() {
|
add() {
|
||||||
this.dialog.open(ADD_WIDGET, { label: 'Add widget' }).subscribe(widget => {
|
this.dialog.open(ADD_WIDGET, { label: 'Add widget' }).subscribe(widget => {
|
||||||
this.addWidget(widget)
|
this.addWidget(widget!)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user