Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public openInputMode(selectedDepartment?: any) {
- this.selectedDepartment = selectedDepartment;
- const matDialogConfig: MatDialogConfig = _.cloneDeep(GajiIdSettings.DIALOG_CONFIG);
- matDialogConfig.data = selectedDepartment;
- this.inputDialogRef = this.dialog.open(DepartmentInputComponent, matDialogConfig);
- this.inputDialogRef.afterClosed().subscribe(
- (department: Department) => {
- if (department) {
- this.refreshData();
- }
- }
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment