no preview support for shadow control (for themes 3 editor)

This commit is contained in:
Henry Jameson 2024-09-25 17:56:34 +03:00
commit 22cc96705a
3 changed files with 11 additions and 3 deletions

View file

@ -1,9 +1,10 @@
<template>
<div
class="label shadow-control"
:class="{ disabled: !present }"
:class="{ disabled: !present, '-no-preview': noPreview }"
>
<ComponentPreview
v-if="!noPreview"
class="shadow-preview"
:shadow-control="true"
:shadow="selected"