Commit 3970ccf9 authored by Simon Gadient's avatar Simon Gadient

[IMP] Labels for mapping preview

refs KIME-4583
parent ecb96f98
...@@ -106,7 +106,7 @@ class FrontendMappingService { ...@@ -106,7 +106,7 @@ class FrontendMappingService {
/** @var Mapping $mapping */ /** @var Mapping $mapping */
$mapping = $columnMapping['mapping']; $mapping = $columnMapping['mapping'];
$getter = empty($mapping->getter) ? 'get' . ucfirst($property) : $mapping->getter; $getter = empty($mapping->getter) ? 'get' . ucfirst($property) : $mapping->getter;
$preview[$property] = $previewObject->$getter(); $preview[$property] = array('value' => $previewObject->$getter(), 'mapping' => $mapping);
} }
return $preview; return $preview;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment