Merge pull request #1075 from Alfresco/dev-mvitale-1072

Fix Demo shell login flags
This commit is contained in:
Mario Romano
2016-11-11 17:43:37 +00:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -88,6 +88,8 @@ export class LoginDemoComponent implements OnInit {
this.providers = 'ECM';
} else if (!checked && this.providers === 'ALL') {
this.providers = 'BPM';
} else if (!checked && this.providers === 'ECM') {
this.providers = '';
}
localStorage.setItem('providers', this.providers);
@@ -100,6 +102,8 @@ export class LoginDemoComponent implements OnInit {
this.providers = 'BPM';
} else if (!checked && this.providers === 'ALL') {
this.providers = 'ECM';
} else if (!checked && this.providers === 'BPM') {
this.providers = '';
}
localStorage.setItem('providers', this.providers);