mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-14 07:27:47 +00:00
parent
2d76afee6f
commit
8958e65ec2
3 changed files with 34 additions and 33 deletions
|
|
@ -350,7 +350,8 @@ class Plugin extends Model
|
||||||
'scaleLevel' => $device?->deviceModel?->scale_level,
|
'scaleLevel' => $device?->deviceModel?->scale_level,
|
||||||
'slot' => $renderedContent,
|
'slot' => $renderedContent,
|
||||||
])->render();
|
])->render();
|
||||||
} else {
|
}
|
||||||
|
|
||||||
return view('trmnl-layouts.mashup', [
|
return view('trmnl-layouts.mashup', [
|
||||||
'mashupLayout' => $this->getPreviewMashupLayoutForSize($size),
|
'mashupLayout' => $this->getPreviewMashupLayoutForSize($size),
|
||||||
'colorDepth' => $device?->deviceModel?->color_depth,
|
'colorDepth' => $device?->deviceModel?->color_depth,
|
||||||
|
|
@ -358,7 +359,7 @@ class Plugin extends Model
|
||||||
'scaleLevel' => $device?->deviceModel?->scale_level,
|
'scaleLevel' => $device?->deviceModel?->scale_level,
|
||||||
'slot' => $renderedContent,
|
'slot' => $renderedContent,
|
||||||
])->render();
|
])->render();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return $renderedContent;
|
return $renderedContent;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue