File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
services/channel/workflows/src/stations/Channels Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -169,12 +169,14 @@ export const Channels: React.FC = () => {
169169 {
170170 component : < ChannelImageManagementQuickEdit /> ,
171171 label : 'Manage Logo' ,
172- generateDetailsLink : ( item ) => `/channels/${ item . id } /logo` ,
172+ generateDetailsLink : ( item ) =>
173+ routes . generate ( routes . channelLogo , { channelId : item . id } ) ,
173174 } ,
174175 {
175176 component : < ChannelVideoManagementQuickEdit /> ,
176177 label : 'Manage Videos' ,
177- generateDetailsLink : ( item ) => `/channels/${ item . id } /videos` ,
178+ generateDetailsLink : ( item ) =>
179+ routes . generate ( routes . channelVideos , { channelId : item . id } ) ,
178180 } ,
179181 ] }
180182 />
Original file line number Diff line number Diff line change @@ -193,10 +193,10 @@ export const Playlists: React.FC = () => {
193193 component : < ProgramManagementQuickEdit /> ,
194194 label : 'Programs' ,
195195 generateDetailsLink : ( item ) =>
196- ` ${ routes . generate ( routes . playlistDetails , {
196+ routes . generate ( routes . programs , {
197197 channelId,
198198 playlistId : item . id ,
199- } ) } /programs` ,
199+ } ) ,
200200 } ,
201201 ] }
202202 />
You can’t perform that action at this time.
0 commit comments