| @@ -29,7 +29,6 @@ export class AppComponent { | |||
| if (!item.items) { | |||
| this.menuService.itemClicked.emit(item); | |||
| //console.log("emit on select : " + item.text); | |||
| console.log(this.loanEdit); | |||
| if ( item.popup == "loanEdit"){ | |||
| this.loanEdit.somedata = "changed"; | |||
| this.loanEdit.open('dialog'); | |||
| @@ -27,11 +27,8 @@ var LoanEditComponent = /** @class */ (function () { | |||
| this[component + 'Opened'] = true; | |||
| }; | |||
| LoanEditComponent.prototype.action = function (status) { | |||
| var _this = this; | |||
| console.log("Dialog result: " + status); | |||
| setTimeout(function () { | |||
| _this.dialogOpened = false; | |||
| }, 2000); | |||
| this.dialogOpened = false; | |||
| }; | |||
| LoanEditComponent = __decorate([ | |||
| core_1.Component({ | |||
| @@ -29,9 +29,6 @@ export class LoanEditComponent implements OnInit { | |||
| public action(status) { | |||
| console.log(`Dialog result: ${status}`); | |||
| setTimeout(()=>{ | |||
| this.dialogOpened = false; | |||
| },2000); | |||
| this.dialogOpened = false; | |||
| } | |||
| } | |||