mirror of
https://github.com/foss42/apidash.git
synced 2025-07-03 06:27:26 +08:00
feat: add scripts tab for gql requests in history request pane
This commit is contained in:
@ -89,13 +89,11 @@ class HistoryRequestPane extends ConsumerWidget {
|
||||
!codePaneVisible;
|
||||
},
|
||||
showViewCodeButton: !isCompact,
|
||||
showIndicators: [
|
||||
headerLength > 0,
|
||||
hasQuery,
|
||||
],
|
||||
showIndicators: [headerLength > 0, hasQuery, scriptsLength > 0],
|
||||
tabLabels: const [
|
||||
kLabelHeaders,
|
||||
kLabelQuery,
|
||||
kLabelScripts,
|
||||
],
|
||||
children: [
|
||||
RequestDataTable(
|
||||
@ -103,6 +101,7 @@ class HistoryRequestPane extends ConsumerWidget {
|
||||
keyName: kNameHeader,
|
||||
),
|
||||
const HisRequestBody(),
|
||||
const HistoryScriptsTab(),
|
||||
],
|
||||
),
|
||||
_ => kSizedBoxEmpty,
|
||||
|
Reference in New Issue
Block a user