Skip to content

Commit

Permalink
PLATTA-4940 - fixes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
dragos-dumi-ibm committed Aug 9, 2023
1 parent f9dcc96 commit 94615cb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Link/LinkProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ public static function preRenderLink($element) : array {
}
$useTemplate = TRUE;
}

$url_attributes = $url->getOption('attributes');
if (!empty($url_attributes['data-selected-icon'])
|| !empty($element['#attributes']['data-selected-icon'])) {
$useTemplate = TRUE;
}
}

if ($useTemplate) {
Expand Down

0 comments on commit 94615cb

Please sign in to comment.