blog id added

This commit was merged in pull request #785.
This commit is contained in:
victorAnumudu
2024-09-21 14:47:22 +01:00
parent 19282ad15a
commit 21a2754fc9
2 changed files with 3 additions and 3 deletions
@@ -24,7 +24,7 @@ const AccountDashboard = ({ className, bannerList }) => {
{getUpperBanner?.map((props, idx) => {
let image = getImage(props);
let { short_title, short_description, short_button_text, link_path } =
let { short_title, short_description, short_button_text, link_path, card_type, blog_id } =
props;
return (
@@ -34,7 +34,7 @@ const AccountDashboard = ({ className, bannerList }) => {
image={image}
title={short_title}
desc={short_description}
link_path={link_path}
link_path={card_type=='BLOG' ? `${link_path}?blog_id=${blog_id}` : link_path}
/>
</div>
);