Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard: Add accordion Layout for smaller screens #7111

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Linting ix
  • Loading branch information
Mutugiii authored and lmmrssa committed Jun 15, 2022
commit c9890f4decd8001201c7daa2ec9e64e936e2a7cc
12 changes: 6 additions & 6 deletions src/app/dashboard/dashboard-tile.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class DashboardTileComponent implements OnInit {
this.setAccordion();
}

removeFromShelf({event, item}) {
removeFromShelf({ event, item }) {
event.stopPropagation();
const { _id: userId, planetCode: userPlanetCode } = this.userService.get();
if (this.shelfName === 'myTeamIds') {
Expand Down Expand Up @@ -145,8 +145,8 @@ export class DashboardTileRowLayoutComponent {
this.droppedEvent.emit(event);
}

removeFromShelf({event, item}) {
this.removeEvent.emit({event, item});
removeFromShelf({ event, item }) {
this.removeEvent.emit({ event, item });
}

}
Expand All @@ -170,8 +170,8 @@ export class DashboardTileAccordionLayoutComponent {
this.droppedEvent.emit(event);
}

removeFromShelf({event, item}) {
this.removeEvent.emit({event, item});
removeFromShelf({ event, item }) {
this.removeEvent.emit({ event, item });
}

}
Expand Down Expand Up @@ -227,6 +227,6 @@ export class DashboardTileRightTileComponent implements AfterViewChecked {
}

removeFromShelf(event, item: any) {
this.removeEvent.emit({event, item});
this.removeEvent.emit({ event, item });
}
}