You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
385 B

import { FC } from 'react';
import { GrafanaRouteComponentProps } from '../../core/navigation/types';
import { playlistSrv } from './PlaylistSrv';
interface Props extends GrafanaRouteComponentProps<{ id: string }> {}
export const PlaylistStartPage: FC<Props> = ({ match }) => {
playlistSrv.start(parseInt(match.params.id, 10));
return null;
};
export default PlaylistStartPage;