mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-01 14:41:14 +00:00
linting fixes
This commit is contained in:
committed by
Sheena Malhotra
parent
b4a7eb72df
commit
f85e1c2b04
@@ -17,7 +17,7 @@
|
||||
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { AppTestingModule } from '../../testing/app-testing.module';
|
||||
import { HeaderActionsComponent } from './header-actions.component'
|
||||
import { HeaderActionsComponent } from './header-actions.component';
|
||||
import { ContentActionType } from '@alfresco/adf-extensions';
|
||||
import { AppExtensionService } from '@alfresco/aca-shared';
|
||||
import { of } from 'rxjs';
|
||||
@@ -28,7 +28,6 @@ import { AppHeaderActionsModule } from './header-actions.module';
|
||||
describe('HeaderActionsComponent', () => {
|
||||
let component: HeaderActionsComponent;
|
||||
let fixture: ComponentFixture<HeaderActionsComponent>;
|
||||
|
||||
let extensionService: AppExtensionService;
|
||||
let getCreateActionsSpy: jasmine.Spy;
|
||||
let getUploadActionsSpy: jasmine.Spy;
|
||||
@@ -115,7 +114,7 @@ describe('HeaderActionsComponent', () => {
|
||||
button.click();
|
||||
}
|
||||
|
||||
it('should render menu items when create menu is opened' , async () => {
|
||||
it('should render menu items when create menu is opened', async () => {
|
||||
spyOn(component, 'isPersonalFilesRoute').and.returnValue(true);
|
||||
await clickCreateMenu();
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
<ng-container [ngSwitch]="mode">
|
||||
<div class="sidenav-header">
|
||||
<div class="sidenav-header-title">
|
||||
<div class="sidenav-header-title-logo" (click)="toggleClick()">
|
||||
<div class="sidenav-header-title-logo" (click)="toggleClick()" (keypress)="toggleClick()">
|
||||
<mat-icon svgIcon="workspace"
|
||||
title="{{'APP.TOOLTIPS.COLLAPSE_NAVIGATION' | translate}}"></mat-icon>
|
||||
</div>
|
||||
|
@@ -55,7 +55,7 @@ export class SidenavComponent implements OnInit, OnDestroy {
|
||||
.subscribe(() => {
|
||||
this.groups = this.extensions.getApplicationNavigation(this.extensions.navbar);
|
||||
});
|
||||
this.appServices.cast.subscribe((data) => (this.hideSidenav = data));
|
||||
this.appServices.cast.subscribe((data) => (this.hideSidenav = data));
|
||||
}
|
||||
|
||||
trackByGroupId(_: number, obj: NavBarGroupRef): string {
|
||||
|
@@ -51,7 +51,7 @@ export class ViewProfileComponent implements OnInit {
|
||||
.catch((error) => {
|
||||
throwError(error);
|
||||
});
|
||||
this.appService.cast.subscribe((data) => (this.hideSidenav = data));
|
||||
this.appService.cast.subscribe((data) => (this.hideSidenav = data));
|
||||
}
|
||||
|
||||
populateForm(userInfo: Person) {
|
||||
|
Reference in New Issue
Block a user