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:
2026-05-04 15:36:42 +02:00
committed by brontomark
parent 9f57207a39
commit 94ad524bae
110 changed files with 5831 additions and 5306 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()));
}