reworked operation (#12)
Reviewed-on: #12 Co-authored-by: Mark M2 Macbook <marco@catelli.it> Co-committed-by: Mark M2 Macbook <marco@catelli.it>
This commit is contained in:
@@ -126,7 +126,7 @@ class _StaffScreenState extends State<StaffScreen> {
|
||||
initialValue: _selectedStoreId,
|
||||
decoration: const InputDecoration(labelText: "Filtra per Negozio"),
|
||||
items: state.stores
|
||||
.map((s) => DropdownMenuItem(value: s.id, child: Text(s.nome)))
|
||||
.map((s) => DropdownMenuItem(value: s.id, child: Text(s.name)))
|
||||
.toList(),
|
||||
onChanged: (id) {
|
||||
setState(() => _selectedStoreId = id);
|
||||
@@ -355,7 +355,7 @@ class _StaffScreenState extends State<StaffScreen> {
|
||||
store.id,
|
||||
);
|
||||
return FilterChip(
|
||||
label: Text(store.nome),
|
||||
label: Text(store.name),
|
||||
selected: isSelected,
|
||||
onSelected: (selected) {
|
||||
setModalState(() {
|
||||
|
||||
Reference in New Issue
Block a user