mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
fix display elements order
selectAndSuggested method in store getter, is callable in all components, and make union of two arrays: suggested and selected * we need to have selected in last position (required for isChecked method to work well) * but we want to display selected in first position (for better ux) then, we use double inversion to obtain good behaviour
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
</span>
|
||||
</div>
|
||||
<person-suggestion
|
||||
v-for="item in this.selectedAndSuggested"
|
||||
v-for="item in this.selectedAndSuggested.slice().reverse()"
|
||||
v-bind:item="item"
|
||||
v-bind:key="item.id">
|
||||
</person-suggestion>
|
||||
|
Reference in New Issue
Block a user