We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 36bee5b + 87b65e1 commit bd33667Copy full SHA for bd33667
client/renderer.js
@@ -246,11 +246,11 @@ class BlazeRenderer {
246
247
_load(updateTemplate, updateLayout, current) {
248
if (updateLayout && current.layout.view) {
249
- current.layout.view.dataVar.set(current.data);
+ current.layout.view.dataVar.set(current.layout.view.dataVar.get()?.value ? { value: current.data ?? {} } : current.data);
250
}
251
252
if (current.template.view && updateTemplate) {
253
- current.template.view.dataVar.set(current.data);
+ current.template.view.dataVar.set(current.template.view.dataVar.get()?.value ? { value: current.data ?? {} } : current.data);
254
this.isRendering = false;
255
current.materialized = true;
256
current.callback();
0 commit comments