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