Skip to content

Commit

Permalink
Merge pull request #42 from ASUWebPlatforms/WS2-1475
Browse files Browse the repository at this point in the history
WS2-1475: Card Arrangement Font Awesome Settings Issue with Card Group with Icon
  • Loading branch information
mlsamuelson authored Dec 12, 2022
2 parents dfefeb5 + dbb6577 commit 33bad8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Utils/ReactComponentHelperFunctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ public function getCardContent($paragraph) {
if (isset($paragraph->field_icon)) {
$icon_name = $paragraph->field_icon->icon_name;
$icon_style = $paragraph->field_icon->style;
$card->icon = [$icon_style, $icon_name];
$icon_settings = unserialize($paragraph->field_icon->settings);
$card->icon = [$icon_style, $icon_name, $icon_settings];
}

$card->clickable = false;
Expand Down

0 comments on commit 33bad8c

Please sign in to comment.