mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
FIX [review] processing review, but stuck at transformation of json string to array
This commit is contained in:
@@ -17,7 +17,8 @@
|
||||
</add-persons>
|
||||
</li>
|
||||
</ul>
|
||||
<ul v-if="suggested !== null" class="list-suggest add-items inline">
|
||||
<ul v-if="Object.keys(suggested).length > 0" class="list-suggest add-items inline">
|
||||
<p>hello {{ Object.keys(suggested) }}</p>
|
||||
<li v-for="s in suggested" :key="s.id" @click="addNewSuggested(s)"><span>{{ s.text }}</span></li>
|
||||
</ul>
|
||||
</template>
|
||||
@@ -55,7 +56,7 @@ export default {
|
||||
},
|
||||
suggested: {
|
||||
type: Array,
|
||||
default: null
|
||||
default: []
|
||||
}
|
||||
},
|
||||
emits: ['addNewEntity', 'removeEntity'],
|
||||
|
Reference in New Issue
Block a user