Skip to content

Commit

Permalink
Merge e4a3716 into 7f777cb
Browse files Browse the repository at this point in the history
  • Loading branch information
hubsif authored Mar 23, 2021
2 parents 7f777cb + e4a3716 commit 4a36985
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
</f7-row>
</f7-block>

<oh-layout-page class="layout-page" v-else-if="ready" :context="context" :key="pageKey"
<oh-layout-page class="layout-page" v-else-if="ready" :context="context" :key="pageKey" :style="page.config.style"
@add-block="addBlock"
@add-masonry="addMasonry"
@add-grid-item="addGridItem" />
Expand All @@ -76,7 +76,7 @@
<editor v-if="currentTab === 'code'" :style="{ opacity: previewMode ? '0' : '' }" class="page-code-editor" mode="application/vnd.openhab.uicomponent+yaml?type=layout" :value="pageYaml" @input="onEditorInput" />
<!-- <pre class="yaml-message padding-horizontal" :class="[yamlError === 'OK' ? 'text-color-green' : 'text-color-red']">{{yamlError}}</pre> -->

<oh-layout-page class="layout-page" v-if="ready && previewMode" :context="context" :key="pageKey" />
<oh-layout-page class="layout-page" v-if="ready && previewMode" :context="context" :key="pageKey" :style="page.config.style" />
</f7-tab>
</f7-tabs>
</f7-page>
Expand Down

0 comments on commit 4a36985

Please sign in to comment.