Skip to content

Commit

Permalink
Revert "Fix formatting for alias on relations (#745)"
Browse files Browse the repository at this point in the history
This reverts commit 91d1903.
  • Loading branch information
cancan101 authored Dec 5, 2024
1 parent 8efec81 commit 35fde9c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/DataObject/GridColumnConfig/Value/DefaultValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@ private function getValueForObject(Concrete $object, string $key, string $brickT
}
}

if ($value instanceof ElementInterface) {
$value = $value->getFullPath();
}

if (!$fieldDefinition instanceof Data) {
return $this->getDefaultValue($value);
}
Expand Down

0 comments on commit 35fde9c

Please sign in to comment.