calendario profesional
This commit is contained in:
@@ -60,7 +60,7 @@ class ServiceBloc extends Bloc<ServiceEvent, ServiceState> {
|
||||
range1Hour1: event.range1Hour1,
|
||||
range1Hour2: event.range1Hour2,
|
||||
rate: event.rate,
|
||||
status: ServiceStatus.pending,
|
||||
status: event.status ?? ServiceStatus.pending,
|
||||
location: event.location,
|
||||
);
|
||||
|
||||
@@ -307,8 +307,6 @@ class ServiceBloc extends Bloc<ServiceEvent, ServiceState> {
|
||||
final count = await _serviceRepository
|
||||
.countPendingServicesForProfessional(event.professionalId);
|
||||
|
||||
|
||||
|
||||
emit(PendingServicesCountedLoaded(count));
|
||||
} catch (e) {
|
||||
log(e.toString());
|
||||
|
||||
Reference in New Issue
Block a user