Skip to content

Commit

Permalink
Change default data object icons (#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
martineiber authored Nov 19, 2024
1 parent 8bb6c11 commit 963d930
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Icon/Service/IconService.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ public function getIconForDataObject(DataObjectSearchResultItem $dataObject): El
}

$value = match ($dataObject->getType()) {
ElementTypes::TYPE_OBJECT => 'vector',
ElementTypes::TYPE_VARIANT => 'variant-icon',
ElementTypes::TYPE_OBJECT => 'mainObject',
ElementTypes::TYPE_VARIANT => 'mainObjectVariant',
ElementTypes::TYPE_FOLDER => 'folder',
default => $this->defaultIcon
};
Expand Down

0 comments on commit 963d930

Please sign in to comment.