diff --git a/frontend/components/Form/Autocomplete.vue b/frontend/components/Form/Autocomplete.vue index 28dd6f3..dffb33d 100644 --- a/frontend/components/Form/Autocomplete.vue +++ b/frontend/components/Form/Autocomplete.vue @@ -50,7 +50,7 @@ interface Props { label: string; modelValue: string | ItemsObject; - items: string[] | ItemsObject[]; + items: ItemsObject[] | Record[] | string[]; itemText?: keyof ItemsObject; itemValue?: keyof ItemsObject; search?: string; diff --git a/frontend/components/Location/Card.vue b/frontend/components/Location/Card.vue index 56b36a2..bb5f1f7 100644 --- a/frontend/components/Location/Card.vue +++ b/frontend/components/Location/Card.vue @@ -17,20 +17,18 @@ {{ location.name }} - - {{ location.itemCount }} + {{ count }} @@ -152,11 +177,18 @@ -
+
Items
+ +
+ Child Locations +
+ +
+