mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Show the number of items per shopping list in the shopping lists dropdown (closes #2467)
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
<select class="custom-control custom-select custom-select-sm"
|
||||
id="selected-shopping-list">
|
||||
@foreach($shoppingLists as $shoppingList)
|
||||
<option @if($shoppingList->id == $selectedShoppingListId) selected="selected" @endif value="{{ $shoppingList->id }}">{{ $shoppingList->name }}</option>
|
||||
<option @if($shoppingList->id == $selectedShoppingListId) selected="selected" @endif value="{{ $shoppingList->id }}">{{ $shoppingList->name }} ({{ $shoppingList->item_count }})</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user