mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-1995] reduce search in mobile device and show only for CS users
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
@media screen and ($mat-small) {
|
||||
adf-search-bar {
|
||||
width: 200px;
|
||||
width: 150px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -61,7 +61,7 @@ describe('SearchControlComponent', () => {
|
||||
}));
|
||||
|
||||
beforeEach(async(() => {
|
||||
spyOn(authService, 'isLoggedIn').and.returnValue(true);
|
||||
spyOn(authService, 'isEcmLoggedIn').and.returnValue(true);
|
||||
}));
|
||||
|
||||
afterEach(async(() => {
|
||||
|
@@ -111,7 +111,7 @@ export class SearchControlComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
isLoggedIn(): boolean {
|
||||
return this.authService.isLoggedIn();
|
||||
return this.authService.isEcmLoggedIn();
|
||||
}
|
||||
|
||||
searchSubmit(event: any) {
|
||||
|
Reference in New Issue
Block a user