Add CORS expose headers for PDF viewer compatibility
This commit is contained in:
@@ -140,9 +140,9 @@ class _HomePageState extends State<HomePage> with TickerProviderStateMixin {
|
||||
onPressed: () {
|
||||
final name = controller.text.trim();
|
||||
if (name.isNotEmpty) {
|
||||
BlocProvider.of<OrganizationBloc>(context).add(
|
||||
CreateOrganization(name),
|
||||
);
|
||||
BlocProvider.of<OrganizationBloc>(
|
||||
context,
|
||||
).add(CreateOrganization(name));
|
||||
Navigator.of(context).pop();
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user