Skip to content

Commit 23b9443

Browse files
authored
Merge pull request #146 from hisptz/develop
Develop
2 parents 440de86 + 925a948 commit 23b9443

File tree

3 files changed

+10
-16
lines changed

3 files changed

+10
-16
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@iapps/ngx-dhis2-validation-rule-group-filter",
3-
"version": "1.0.0-alpha.14",
3+
"version": "1.0.0-alpha.15",
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve --proxy-config proxy-config.json",

projects/ngx-dhis2-validation-rule-filter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@iapps/ngx-dhis2-validation-rule-group-filter",
3-
"version": "1.0.0-alpha.14",
3+
"version": "1.0.0-alpha.15",
44
"peerDependencies": {
55
"@angular/common": "^7.2.0",
66
"@angular/core": "^7.2.0"

src/app/app.component.ts

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,42 +21,36 @@ export class AppComponent {
2121

2222
ngOnInit() {
2323
this.dataElements = [
24-
'NQUI9v85csU',
25-
'SQ7kqkZkEwV',
26-
'Lnf095vgahq',
27-
'Lnf095vgahq',
28-
'Lnf095vgahq',
24+
// 'NQUI9v85csU',
25+
// 'SQ7kqkZkEwV',
26+
// 'Lnf095vgahq',
27+
// 'Lnf095vgahq',
28+
// 'Lnf095vgahq',
2929
];
3030

3131
this.preSelectedVRGs = [
3232
{
3333
id: 'Lnf095vgahq',
3434
name: 'PRE Selected VRGs'
3535
}
36-
]
36+
];
3737

3838
this.selectedValidationRuleGroup = {
3939
items: [],
4040
periodType: [],
4141
dimension: {},
4242
changed: false
43-
}
43+
};
4444
}
4545

46-
constructor() {
47-
this.editorOptions = new JsonEditorOptions();
48-
this.editorOptions.modes = ['code'];
49-
// this.options.mode = 'code'; //set only one mode
50-
// Options to be added here: ['code', 'text', 'tree', 'view']
51-
}
46+
constructor() { }
5247

5348
onUpdateValidationRule = (selectedValidationRuleGroup, action?) => {
5449
this.selectedValidationRuleGroup = selectedValidationRuleGroup;
5550
this.action = action;
5651
}
5752

5853
getContent = (data) => {
59-
console.log('BOBO::: ' + JSON.stringify(data.value));
6054
this.dataElements = [data];
6155
}
6256
}

0 commit comments

Comments
 (0)