|
@@ -73,9 +73,7 @@ if ($latestSectionTS === 0 || $latestSectionTS < $sectionTS) {
|
|
|
if ($section->sectionTemplate->is_canvas) {
|
|
|
$contentData = false;
|
|
|
if ($canvasData) {
|
|
|
- if (isset($canvasData[$sectionInternalName])) {
|
|
|
- $contentData = $canvasData[$sectionInternalName];
|
|
|
- }
|
|
|
+ $contentData = json_decode($section->content_data, true);
|
|
|
}
|
|
|
?>
|
|
|
@include("app.patient.canvas-sections.{$sectionInternalName}.form")
|