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

@ -34,12 +34,11 @@ const toModel = (object = {}) => ({
export default {
props: [
'modelValue', 'fallback', 'separateInset'
'modelValue', 'fallback', 'separateInset', 'noPreview'
],
emits: ['update:modelValue'],
data () {
return {
lightGrid: false,
selectedId: 0,
// TODO there are some bugs regarding display of array (it's not getting updated when deleting for some reason)
cValue: (this.modelValue ?? this.fallback ?? []).map(toModel)