mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
simplify store suggested array
This commit is contained in:
@@ -94,12 +94,10 @@ export default {
|
||||
}
|
||||
},
|
||||
suggested() {
|
||||
if (! this.add_persons.suggested.results) { return []; }
|
||||
return this.add_persons.suggested.results;
|
||||
return this.add_persons.suggested;
|
||||
},
|
||||
suggestedCounter() {
|
||||
if (! this.add_persons.suggested.results) { return 0; }
|
||||
return this.add_persons.suggested.results.length;
|
||||
return this.add_persons.suggested.length;
|
||||
},
|
||||
selected() {
|
||||
return this.add_persons.selected;
|
||||
|
Reference in New Issue
Block a user