feat(BOOK-735): Removed video block from start page and collection page
Approved-by: Bianca Widstam
This commit is contained in:
@@ -11,7 +11,6 @@ export namespace StartPageEnum {
|
||||
FullWidthCampaign = "StartPageBlocksFullWidthCampaign",
|
||||
JoinScandicFriends = "StartPageBlocksJoinScandicFriends",
|
||||
VideoCard = "StartPageBlocksVideoCard",
|
||||
Video = "StartPageBlocksVideo",
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -31,11 +30,6 @@ export function getConnectionsFromAssets({ start_page }: StartPageRefs) {
|
||||
)
|
||||
}
|
||||
break
|
||||
case StartPageEnum.ContentStack.blocks.Video:
|
||||
if (block.video?.sourceConnection.edges[0]) {
|
||||
connections.push(block.video.sourceConnection.edges[0].node.system)
|
||||
}
|
||||
break
|
||||
default:
|
||||
break
|
||||
}
|
||||
@@ -83,8 +77,6 @@ export function getConnections({ start_page }: StartPageRefs) {
|
||||
}
|
||||
break
|
||||
}
|
||||
case StartPageEnum.ContentStack.blocks.Video:
|
||||
break
|
||||
default:
|
||||
const _exhaustiveCheck: never = typeName
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user