mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-06-30 18:15:11 +00:00
Fix login flags
This commit is contained in:
parent
ac077b9b96
commit
93ec758911
@ -88,9 +88,13 @@ export class LoginDemoComponent implements OnInit {
|
|||||||
this.providers = 'ECM';
|
this.providers = 'ECM';
|
||||||
} else if (!checked && this.providers === 'ALL') {
|
} else if (!checked && this.providers === 'ALL') {
|
||||||
this.providers = 'BPM';
|
this.providers = 'BPM';
|
||||||
|
} else if (!checked && this.providers === 'ECM') {
|
||||||
|
this.providers = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
localStorage.setItem('providers', this.providers);
|
if (this.providers) {
|
||||||
|
localStorage.setItem('providers', this.providers);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
toggleBPM(checked) {
|
toggleBPM(checked) {
|
||||||
@ -100,9 +104,13 @@ export class LoginDemoComponent implements OnInit {
|
|||||||
this.providers = 'BPM';
|
this.providers = 'BPM';
|
||||||
} else if (!checked && this.providers === 'ALL') {
|
} else if (!checked && this.providers === 'ALL') {
|
||||||
this.providers = 'ECM';
|
this.providers = 'ECM';
|
||||||
|
} else if (!checked && this.providers === 'BPM') {
|
||||||
|
this.providers = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
localStorage.setItem('providers', this.providers);
|
if (this.providers) {
|
||||||
|
localStorage.setItem('providers', this.providers);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
toggleCSRF() {
|
toggleCSRF() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user