WEB-639: Refactor redundant boolean comparisons (#3063)
improve improve improve improve
This commit is contained in:
@@ -159,12 +159,12 @@ export class RolesAndPermissionsComponent implements OnInit, AfterViewInit {
|
||||
* To show popover.
|
||||
*/
|
||||
ngAfterViewInit() {
|
||||
if (this.configurationWizardService.showRolesandPermissionPage === true) {
|
||||
if (this.configurationWizardService.showRolesandPermissionPage) {
|
||||
setTimeout(() => {
|
||||
this.showPopover(this.templateButtonAddRole, this.buttonAddRole.nativeElement, 'bottom', true);
|
||||
});
|
||||
}
|
||||
if (this.configurationWizardService.showRolesandPermissionList === true) {
|
||||
if (this.configurationWizardService.showRolesandPermissionList) {
|
||||
setTimeout(() => {
|
||||
this.showPopover(
|
||||
this.templateTableRolesandPermissions,
|
||||
|
||||
Reference in New Issue
Block a user