Skip to content

Commit

Permalink
reset the source input for source unspecified endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
shouya committed Feb 16, 2024
1 parent 8dc0ee2 commit fbf57e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inspector/src/FeedInspector.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ export class FeedInspector {
if (source) {
$("input#source", $("#request-param")).placeholder = source;
$("input#source", $("#request-param")).value = "";
} else {
$("input#source", $("#request-param")).placeholder =
"Source not configured. Please specify it here.";
}
$("#request-param").classList.remove("hidden");

Expand Down
3 changes: 3 additions & 0 deletions inspector/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ ul#filter-list {
margin-top: 0.5rem;
overflow-x: auto;

pre {
margin: 0;
}
code {
white-space: pre;
}
Expand Down

0 comments on commit fbf57e1

Please sign in to comment.