aggiunto colore e files a ticket form
This commit is contained in:
@@ -177,8 +177,17 @@ class AppRouter {
|
||||
);
|
||||
context.read<CustomersCubit>().loadCustomers();
|
||||
|
||||
return BlocProvider(
|
||||
create: (context) => TicketFormCubit(),
|
||||
return MultiBlocProvider(
|
||||
providers: [
|
||||
BlocProvider(
|
||||
create: (context) => AttachmentsBloc(
|
||||
parentType: AttachmentParentType.ticket,
|
||||
parentId: realTicketId,
|
||||
),
|
||||
),
|
||||
BlocProvider(create: (context) => TicketFormCubit()),
|
||||
],
|
||||
|
||||
child: TicketFormScreen(
|
||||
ticketId: realTicketId,
|
||||
existingTicket: ticketFromExtra,
|
||||
|
||||
Reference in New Issue
Block a user