Skip to content

Commit b25e4da

Browse files
xingzhang-suseBinX-Suse
authored andcommitted
tslint correction
1 parent 88ac2e7 commit b25e4da

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

admin/webapp/websrc/app/common/services/process-profile-rules.service.ts

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,10 @@ export class ProcessProfileRulesService {
3131
source: string,
3232
isScoreImprovement: boolean = false
3333
) {
34-
const groupConfigurableCfgTypes = source === GlobalConstant.NAV_SOURCE.GROUP?
35-
[
36-
GlobalConstant.CFG_TYPE.CUSTOMER,
37-
GlobalConstant.CFG_TYPE.LEARNED,
38-
] :
39-
[GlobalConstant.CFG_TYPE.FED];
34+
const groupConfigurableCfgTypes =
35+
source === GlobalConstant.NAV_SOURCE.GROUP
36+
? [GlobalConstant.CFG_TYPE.CUSTOMER, GlobalConstant.CFG_TYPE.LEARNED]
37+
: [GlobalConstant.CFG_TYPE.FED];
4038
let columnDefs = [
4139
{
4240
headerComponent: ProcessProfileRuleNameHeaderComponent,
@@ -52,10 +50,7 @@ export class ProcessProfileRulesService {
5250
);
5351
},
5452
field: 'name',
55-
hide: !(
56-
isWriteGroupAuthorized &&
57-
isWriteProcessProfileRuleAuthorized
58-
),
53+
hide: !(isWriteGroupAuthorized && isWriteProcessProfileRuleAuthorized),
5954
},
6055
{
6156
headerName: this.translate.instant('service.gridHeader.PATH'),

admin/webapp/websrc/app/routes/pages/login/login.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ export class LoginComponent implements OnInit, OnDestroy {
424424
this.rbacAlertMessage = eulaInfo.k8s_rbac_alert_message;
425425
}
426426

427-
if(eulaInfo.bootstrap_password_command) {
427+
if (eulaInfo.bootstrap_password_command) {
428428
this.bootstrapPasswordCommand = eulaInfo.bootstrap_password_command;
429429
}
430430

0 commit comments

Comments
 (0)