File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
lib/screens/home_page/editor_pane/details_card/request_pane Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ class EditRequestBody extends ConsumerWidget {
134
134
child: TextFieldEditor (
135
135
key: Key ("$selectedId -query" ),
136
136
fieldKey: "$selectedId -query-editor" ,
137
- initialValue: requestModel? .webSocketRequestModel ? .message ,
137
+ initialValue: requestModel? .httpRequestModel ? .query ,
138
138
onChanged: (String value) {
139
139
ref
140
140
.read (collectionStateNotifierProvider.notifier)
Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ class EditRequestHeadersState extends ConsumerState<EditRequestHeaders> {
50
50
late List <NameValueModel >? rH;
51
51
late bool isHeadersEmpty;
52
52
if (apiType == APIType .webSocket) {
53
- print ("inside header" );
54
53
rH = ref.read (selectedRequestModelProvider)? .webSocketRequestModel? .headers;
55
54
isHeadersEmpty = rH == null || rH.isEmpty;
56
55
isRowEnabledList = [
@@ -74,7 +73,6 @@ class EditRequestHeadersState extends ConsumerState<EditRequestHeaders> {
74
73
];
75
74
76
75
}else {
77
- print ("inside http" );
78
76
rH = ref.read (selectedRequestModelProvider)? .httpRequestModel? .headers;
79
77
isHeadersEmpty = rH == null || rH.isEmpty;
80
78
headerRows = isHeadersEmpty
You can’t perform that action at this time.
0 commit comments