Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ export default class UcdlibIamPageUpdateTool extends Mixin(LitElement)
if ( e.detail.employee ){
this.employeeRecord = e.detail.employee;
this.hasEmployeeRecord = true;

} else {
this.employeeRecord = {};
this.hasEmployeeRecord = false;
Expand All @@ -124,7 +123,7 @@ export default class UcdlibIamPageUpdateTool extends Mixin(LitElement)

/**
* @method reset
* @description resets all component state and reloads page
* @description resets all component state and returns page to search
*/
reset(){
this.employeeRecord = {};
Expand All @@ -140,7 +139,6 @@ export default class UcdlibIamPageUpdateTool extends Mixin(LitElement)
this.iamId = '';
this.isFetching = false;
this.wasError = false;
this.page = 'employee-select';
this.hideResults = false;
this.discrepancy = [];
this.dismissDiscrepancyList = [];
Expand All @@ -153,9 +151,7 @@ export default class UcdlibIamPageUpdateTool extends Mixin(LitElement)
this.departmentName = "department";

this.resetDepartmentChecks();

window.location.reload();

this.page = 'employee-select';

this.requestUpdate();
}
Comment on lines 153 to 157
Expand Down