Commit 79dc5c5a authored by Chhengleap Soem's avatar Chhengleap Soem

Merge branch 'KIME-4583' into 'master'

[IMP] Labels for mapping preview

refs KIME-4583

See merge request !12
parents 1a3fdbb7 3970ccf9
......@@ -106,7 +106,7 @@ class FrontendMappingService {
/** @var Mapping $mapping */
$mapping = $columnMapping['mapping'];
$getter = empty($mapping->getter) ? 'get' . ucfirst($property) : $mapping->getter;
$preview[$property] = $previewObject->$getter();
$preview[$property] = array('value' => $previewObject->$getter(), 'mapping' => $mapping);
}
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