Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ce1be99016 | ||
|
|
ff79c6274f |
@@ -32,6 +32,10 @@ export class ScheduleChannelItem extends ListItemElement<Channel> {
|
||||
<span class="text-primary">${value.name}</span>
|
||||
`;
|
||||
}
|
||||
|
||||
getBadge(value: Channel): string | null {
|
||||
return value.provider;
|
||||
}
|
||||
}
|
||||
|
||||
export class ScheduleChannelList extends ListElement<Channel, ScheduleChannelItem> {
|
||||
|
||||
@@ -16,6 +16,10 @@ export class WheatherLocationItem extends ListItemElement<Location> {
|
||||
</span>
|
||||
`;
|
||||
}
|
||||
|
||||
getBadge(value: Location): string | null {
|
||||
return value.provider;
|
||||
}
|
||||
}
|
||||
|
||||
export class WeatherLocationList extends ListElement<Location, WheatherLocationItem> {
|
||||
|
||||
Reference in New Issue
Block a user