-
-
{contentLeft}
-
{contentRight}
-
- {renderFooter}
+ const content = (
+
+ {renderAvatar}
+
+
+
{contentLeft}
+
{contentRight}
+ {renderFooter}
-
+
);
+ if (!link) {
+ return content;
+ }
+ return
{content};
};
export default CardColumnSmall;
diff --git a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap
index 56ae2b057c..583f2c39c6 100644
--- a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap
+++ b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap
@@ -1282,6 +1282,49 @@ exports[`Storyshots CardColumnSmall Default 1`] = `