diff --git a/bundles/core/src/main/java/io/wcm/wcm/core/components/impl/models/helpers/LinkListItemV2Impl.java b/bundles/core/src/main/java/io/wcm/wcm/core/components/impl/models/helpers/LinkListItemV2Impl.java index 1032df7..a15ce4a 100644 --- a/bundles/core/src/main/java/io/wcm/wcm/core/components/impl/models/helpers/LinkListItemV2Impl.java +++ b/bundles/core/src/main/java/io/wcm/wcm/core/components/impl/models/helpers/LinkListItemV2Impl.java @@ -97,7 +97,7 @@ protected String getItemIdPrefix() { protected @NotNull PageData getComponentData() { return DataLayerBuilder.extending(super.getComponentData()).asPage() .withTitle(this::getTitle) - .withLinkUrl(this::getURL) + .withLinkUrl(link::getURL) .build(); } diff --git a/bundles/core/src/main/java/io/wcm/wcm/core/components/impl/models/v2/TeaserV2Impl.java b/bundles/core/src/main/java/io/wcm/wcm/core/components/impl/models/v2/TeaserV2Impl.java index e605f20..31f78c1 100644 --- a/bundles/core/src/main/java/io/wcm/wcm/core/components/impl/models/v2/TeaserV2Impl.java +++ b/bundles/core/src/main/java/io/wcm/wcm/core/components/impl/models/v2/TeaserV2Impl.java @@ -262,7 +262,7 @@ public String getTitleType() { protected @NotNull ComponentData getComponentData() { return DataLayerBuilder.extending(super.getComponentData()).asComponent() .withTitle(this::getTitle) - .withLinkUrl(this::getLinkURL) + .withLinkUrl(link::getURL) .withDescription(this::getDescription) .build(); }