added preview messages (#2208)

This commit is contained in:
Aditya Bist
2018-08-20 12:01:29 -07:00
committed by Karl Burtram
parent 92bc253cf7
commit efa3658ced
3 changed files with 34 additions and 1 deletions

View File

@@ -368,6 +368,10 @@ export class OperatorDialog extends AgentDialog<OperatorData> {
private initializeNotificationTab() {
this.notificationsTab.registerContent(async view => {
let previewTag = view.modelBuilder.text()
.withProperties({
value: 'Feature Preview'
}).component();
this.alertsTable = view.modelBuilder.table()
.withProperties({
columns: [
@@ -381,6 +385,9 @@ export class OperatorDialog extends AgentDialog<OperatorData> {
let formModel = view.modelBuilder.formContainer()
.withFormItems([{
component: previewTag,
title: ''
}, {
component: this.alertsTable,
title: OperatorDialog.AlertsTableLabel
}]).withLayout({ width: '100%' }).component();