mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 10:49:49 +08:00
fix: add missing crypto dependency to better_networking package
add missing auth tab in HistoryRequestPane
This commit is contained in:
@@ -46,10 +46,8 @@ class HistoryRequestPane extends ConsumerWidget {
|
||||
.select((value) => value?.postRequestScript?.length)) ??
|
||||
0;
|
||||
|
||||
|
||||
final hasAuth = ref.watch(selectedHistoryRequestModelProvider.select(
|
||||
(value) =>
|
||||
value?.authModel?.type != APIAuthType.none));
|
||||
final hasAuth = ref.watch(selectedHistoryRequestModelProvider
|
||||
.select((value) => value?.authModel?.type != APIAuthType.none));
|
||||
|
||||
final authModel = ref.watch(selectedHistoryRequestModelProvider
|
||||
.select((value) => value?.authModel));
|
||||
@@ -66,12 +64,14 @@ class HistoryRequestPane extends ConsumerWidget {
|
||||
showViewCodeButton: !isCompact,
|
||||
showIndicators: [
|
||||
paramLength > 0,
|
||||
hasAuth,
|
||||
headerLength > 0,
|
||||
hasBody,
|
||||
scriptsLength > 0,
|
||||
],
|
||||
tabLabels: const [
|
||||
kLabelURLParams,
|
||||
kLabelAuth,
|
||||
kLabelHeaders,
|
||||
kLabelBody,
|
||||
kLabelScripts,
|
||||
|
||||
Reference in New Issue
Block a user