feat(BOOK-609): Using embedded url for assets instead of href since that is not updated when the asset is updated)
* feat(BOOK-609): Updated refs handling for assets inside content pages Approved-by: Linus Flood
This commit is contained in:
@@ -25,7 +25,7 @@ import { PromoCampaignPageLink } from "../PageLink/PromoCampaignPageLink.graphql
|
||||
import { StartPageLink } from "../PageLink/StartPageLink.graphql"
|
||||
import { PromoCampaignPageRef } from "../PromoCampaignPage/Ref.graphql"
|
||||
import { StartPageRef } from "../StartPage/Ref.graphql"
|
||||
import { SysAsset } from "../SysAsset.graphql"
|
||||
import { SysAsset, SysAssetRef } from "../SysAsset.graphql"
|
||||
|
||||
export const ContentSidebar_ContentPage = gql`
|
||||
fragment ContentSidebar_ContentPage on ContentPageSidebarContent {
|
||||
@@ -80,6 +80,7 @@ export const ContentSidebar_ContentPageRefs = gql`
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...SysAssetRef
|
||||
...ImageContainerRef
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
@@ -99,6 +100,7 @@ export const ContentSidebar_ContentPageRefs = gql`
|
||||
}
|
||||
}
|
||||
}
|
||||
${SysAssetRef}
|
||||
${ImageContainerRef}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
@@ -167,6 +169,7 @@ export const ContentSidebar_LoyaltyPageRefs = gql`
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
...SysAssetRef
|
||||
...ImageContainerRef
|
||||
...AccountPageRef
|
||||
...CampaignOverviewPageRef
|
||||
@@ -186,6 +189,7 @@ export const ContentSidebar_LoyaltyPageRefs = gql`
|
||||
}
|
||||
}
|
||||
}
|
||||
${SysAssetRef}
|
||||
${ImageContainerRef}
|
||||
${AccountPageRef}
|
||||
${CampaignOverviewPageRef}
|
||||
|
||||
Reference in New Issue
Block a user