aggiunta staff section a OperationFormScreen

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-05-03 13:03:50 +02:00
parent eb66a707cc
commit 212f33ff51
4 changed files with 47 additions and 25 deletions

View File

@@ -56,7 +56,7 @@ class StaffCubit extends Cubit<StaffState> {
state.staffByStore,
);
newMap[storeId] = staffInStore;
emit(state.copyWith(staffByStore: newMap));
emit(state.copyWith(staffByStore: newMap, storeStaff: staffInStore));
} catch (e) {
emit(state.copyWith(status: StaffStatus.error, error: e.toString()));
}