mirror of https://github.com/buster-so/buster.git
Merge remote-tracking branch 'origin/staging' into add-report-to-collection-functionality
This commit is contained in:
commit
ff0828d75a
|
@ -51,6 +51,8 @@ export const assetTypeToRoute = (assetType: ShareAssetType, assetId: string) =>
|
|||
return createBusterRoute({ route: BusterRoutes.APP_COLLECTIONS_ID, collectionId: assetId });
|
||||
case 'chat':
|
||||
return createBusterRoute({ route: BusterRoutes.APP_CHAT_ID, chatId: assetId });
|
||||
case 'report':
|
||||
return createBusterRoute({ route: BusterRoutes.APP_REPORTS_ID, reportId: assetId });
|
||||
default:
|
||||
console.warn('Asset type to route not found', assetType, assetId);
|
||||
return '';
|
||||
|
|
Loading…
Reference in New Issue