StateBadges: Actually render links for single badges

fixes #1160
This commit is contained in:
Johannes Meyer 2025-06-05 12:28:10 +02:00
parent b0dfdcffc7
commit 3f305fe540

View file

@ -154,7 +154,7 @@ abstract class StateBadges extends BaseHtmlElement
$stateBadge = new StateBadge($this->item->$key, $state);
if ($this->url !== null) {
$this->createLink(
$stateBadge = $this->createLink(
$stateBadge,
Filter::equal($this->type . '.state.soft_state', $this->getStateInt($state))
);