forked from verdnatura/salix-front
Fix MR
This commit is contained in:
parent
008dfd1be8
commit
ce4f7d79ed
|
@ -2,7 +2,7 @@
|
|||
import { ref, watch } from 'vue';
|
||||
|
||||
const $props = defineProps({
|
||||
addElement: { type: Function, required: true },
|
||||
addElement: { type: Function, required: false },
|
||||
element: { type: Object, default: null },
|
||||
id: { type: Number, default: null },
|
||||
isSelected: { type: Boolean, default: false },
|
||||
|
|
|
@ -74,7 +74,6 @@ function viewSummary(id) {
|
|||
<CardList2
|
||||
v-for="row of rows"
|
||||
:key="row.id"
|
||||
:showCheckbox="true"
|
||||
:title="row.code"
|
||||
@click="navigate(row.id)"
|
||||
>
|
||||
|
|
|
@ -49,6 +49,7 @@ const setData = (entity) => (data.value = useCardDescription(entity.code, entity
|
|||
:filter="filter"
|
||||
:title="data.title"
|
||||
:subtitle="data.subtitle"
|
||||
data-key="Shelvings"
|
||||
@on-fetch="setData"
|
||||
>
|
||||
<template #body="{ entity }">
|
||||
|
|
Loading…
Reference in New Issue