Skip to content

Commit

Permalink
#181 monitoring template extra auto lookup.
Browse files Browse the repository at this point in the history
  • Loading branch information
wattana committed Feb 15, 2024
1 parent 4442e59 commit 56b5d0c
Showing 1 changed file with 27 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,33 @@ export abstract class ObservationMonitoringDefinitionViewModel extends BaseFormV
_titleTemplate: string = "";
_descriptionTemplate: string = "";

definitionFormViewModel = new FormViewModel();
definitionFormViewModel = new FormViewModel([
{
label: "createDate",
value: "created_at",
type: "Monitoring",
},
{
label: "createDateString",
value: "created_at_str",
type: "Monitoring",
},
{
label: "subjectTitle",
value: "subject_title",
type: "Subject",
},
{
label: "subjectIdentity",
value: "subject_identity",
type: "Subject",
},
{
label: "subjectDescription",
value: "subject_description",
type: "Subject",
},
]);

constructor(
readonly definitionId: string,
Expand Down

0 comments on commit 56b5d0c

Please sign in to comment.