mirror of
https://github.com/foss42/apidash.git
synced 2025-12-01 18:28:25 +08:00
Downgraded to Stac 0.10 and Initialized Stac
This commit is contained in:
@@ -54,7 +54,11 @@ class ResponsePaneHeader extends ConsumerWidget {
|
||||
onPressed: () {
|
||||
final model = ref.watch(selectedRequestModelProvider
|
||||
.select((value) => value?.httpResponseModel));
|
||||
showCustomDialog(context, model?.formattedBody ?? "");
|
||||
if (model == null) return;
|
||||
final body = (model.sseOutput?.isNotEmpty ?? false)
|
||||
? model.sseOutput?.join("\n")
|
||||
: model.formattedBody ?? model.body;
|
||||
showCustomDialog(context, body ?? "");
|
||||
},
|
||||
icon: Icon(
|
||||
Icons.generating_tokens,
|
||||
|
||||
Reference in New Issue
Block a user