This commit is contained in:
@@ -36,13 +36,14 @@
|
||||
</v-col>
|
||||
|
||||
<v-col cols="12">
|
||||
<p v-if="!results.length">No results</p>
|
||||
<p v-if="!results.length">{{ $ay.t("NoResults") }}</p>
|
||||
<v-card v-if="results.length" max-width="900px">
|
||||
<v-list>
|
||||
<v-subheader v-if="maxResultsReturned">
|
||||
<span>({{ $ay.t("TooManyResults") }})</span>
|
||||
</v-subheader>
|
||||
_.groupBy(collection, [iteratee=_.identity])
|
||||
maybe add an icon property in code but only for each new item in group?
|
||||
<v-list-item-group v-model="item" color="primary">
|
||||
<v-list-item v-for="(item, i) in results" :key="i">
|
||||
<v-list-item-icon>
|
||||
@@ -262,9 +263,9 @@ function initForm(vm) {
|
||||
//
|
||||
function fetchTranslatedText(vm) {
|
||||
return window.$gz.translation.fetch([
|
||||
//todo: needs all object types
|
||||
"Object",
|
||||
"TooManyResults"
|
||||
"TooManyResults",
|
||||
"NoResults",
|
||||
"Object"
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user