mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
feat(portal-rail-links): update icons for M3U playlist links
feat(portal-activity-item): add PortalAddedItem interface for recently-added catalog items
This commit is contained in:
1 parent
70ed1df5ec
commit
04b0dd38e3
2 files changed
+7
-2
No files matched your search
@@ -81,7 +81,7 @@ describe('buildPortalRailLinks', () => {
|
||||
|
||||
expect(links.primary).toEqual([
|
||||
{
|
||||
icon: 'list',
|
||||
icon: 'tv',
|
||||
tooltip: 'All channels (this playlist)',
|
||||
path: ['/workspace', 'playlists', 'm3u-1', 'all'],
|
||||
exact: true,
|
||||
@@ -102,7 +102,7 @@ describe('buildPortalRailLinks', () => {
|
||||
section: 'recent',
|
||||
},
|
||||
{
|
||||
icon: 'star',
|
||||
icon: 'favorite',
|
||||
tooltip: 'Favorites (this playlist)',
|
||||
path: ['/workspace', 'playlists', 'm3u-1', 'favorites'],
|
||||
exact: true,
|
||||
|
||||
@@ -30,3 +30,8 @@ export interface PortalRecentItem extends PortalActivityItem {
|
||||
export interface PortalFavoriteItem extends PortalActivityItem {
|
||||
added_at: string;
|
||||
}
|
||||
|
||||
/** A recently-added catalog item with an `added_at` timestamp. */
|
||||
export interface PortalAddedItem extends PortalActivityItem {
|
||||
added_at: string;
|
||||
}
|
||||
Reference in new issue
Block a user