mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +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'
|
||||
import { TuiDialogContext, TuiDialogService } from '@taiga-ui/core'
|
||||
import {
|
||||
PolymorpheusComponent,
|
||||
POLYMORPHEUS_CONTEXT,
|
||||
PolymorpheusComponent,
|
||||
} from '@tinkoff/ng-polymorpheus'
|
||||
import { PatchDB } from 'patch-db-client'
|
||||
import { DataModel, Widget } from '../../services/patch-db/data-model'
|
||||
@@ -84,7 +84,7 @@ export class WidgetsPage {
|
||||
|
||||
add() {
|
||||
this.dialog.open(ADD_WIDGET, { label: 'Add widget' }).subscribe(widget => {
|
||||
this.addWidget(widget)
|
||||
this.addWidget(widget!)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user