diff --git a/src/app/player/components/channel-list-container/channel-list-container.component.ts b/src/app/player/components/channel-list-container/channel-list-container.component.ts index 7bfba83c2..7fe11ab1d 100644 --- a/src/app/player/components/channel-list-container/channel-list-container.component.ts +++ b/src/app/player/components/channel-list-container/channel-list-container.component.ts @@ -1,4 +1,8 @@ -import { CdkDragDrop, moveItemInArray } from '@angular/cdk/drag-drop'; +import { + CdkDragDrop, + DragDropModule, + moveItemInArray, +} from '@angular/cdk/drag-drop'; import { ScrollingModule } from '@angular/cdk/scrolling'; import { CommonModule, TitleCasePipe } from '@angular/common'; import { @@ -38,6 +42,7 @@ import { ChannelListItemComponent } from './channel-list-item/channel-list-item. imports: [ CommonModule, ChannelListItemComponent, + DragDropModule, MatDividerModule, MatExpansionModule, MatFormFieldModule, diff --git a/src/app/player/components/channel-list-container/channel-list-item/channel-list-item.component.ts b/src/app/player/components/channel-list-container/channel-list-item/channel-list-item.component.ts index 7676cec6f..45ba08009 100644 --- a/src/app/player/components/channel-list-container/channel-list-item/channel-list-item.component.ts +++ b/src/app/player/components/channel-list-container/channel-list-item/channel-list-item.component.ts @@ -2,7 +2,6 @@ import { DragDropModule } from '@angular/cdk/drag-drop'; import { CommonModule } from '@angular/common'; import { Component, EventEmitter, Input, Output } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; -import { MatDividerModule } from '@angular/material/divider'; import { MatIconModule } from '@angular/material/icon'; import { MatListModule } from '@angular/material/list'; import { MatTooltipModule } from '@angular/material/tooltip'; @@ -13,48 +12,46 @@ import { TranslateModule } from '@ngx-translate/core'; selector: 'app-channel-list-item', styleUrls: ['./channel-list-item.component.scss'], template: ` + drag_indicator - drag_indicator - -

- {{ name }} -

- -
- `, + +

+ {{ name }} +

+ + `, imports: [ CommonModule, DragDropModule, MatButtonModule, - MatDividerModule, MatIconModule, MatListModule, MatTooltipModule,