Skip to content

Commit

Permalink
fix: test path /
Browse files Browse the repository at this point in the history
  • Loading branch information
scarqin committed Jul 19, 2022
1 parent f2e1ceb commit 3368617
Show file tree
Hide file tree
Showing 5 changed files with 84 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export class ApiEditService {
},
{
type: 'btn',
class: 'w_250',
class: 'w_300',
btnList: [
{
key: $localize`Add Child`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
</div>
<input
type="text"
i18n-placeholder
placeholder="Enter URL"
name="uri"
nz-input
formControlName="uri"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ export class ApiTestComponent implements OnInit, OnDestroy {
private resetForm() {
this.apiData = {
projectID: 1,
uri: '/',
uri: '',
protocol: RequestProtocol.HTTP,
method: RequestMethod.POST,
};
Expand Down
33 changes: 20 additions & 13 deletions src/workbench/browser/src/locale/messages.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/api/test/api-test.component.html</context>
<context context-type="linenumber">152</context>
<context context-type="linenumber">154</context>
</context-group>
</trans-unit>
<trans-unit id="d9f726c70aeba7fa6d3d68bff718abe78b1e50ac" datatype="html">
Expand All @@ -228,7 +228,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/api/test/api-test.component.html</context>
<context context-type="linenumber">87</context>
<context context-type="linenumber">89</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/api/test/query/api-test-query.component.html</context>
Expand All @@ -247,7 +247,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/api/test/api-test.component.html</context>
<context context-type="linenumber">100</context>
<context context-type="linenumber">102</context>
</context-group>
</trans-unit>
<trans-unit id="db43e3e3a76a0aa08894372030a2c21b7b5acbc7" datatype="html">
Expand All @@ -262,11 +262,11 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/api/test/api-test.component.html</context>
<context context-type="linenumber">67</context>
<context context-type="linenumber">69</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/api/test/api-test.component.html</context>
<context context-type="linenumber">149</context>
<context context-type="linenumber">151</context>
</context-group>
</trans-unit>
<trans-unit id="3182a31bb4b49db86613cf11e52c4b3ff62246bd" datatype="html">
Expand All @@ -288,7 +288,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/api/test/api-test.component.html</context>
<context context-type="linenumber">145</context>
<context context-type="linenumber">147</context>
</context-group>
</trans-unit>
<trans-unit id="4edb71f23e3ff228dbabd05e8ffc364fae8ae467" datatype="html">
Expand All @@ -311,7 +311,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/api/test/api-test.component.html</context>
<context context-type="linenumber">141</context>
<context context-type="linenumber">143</context>
</context-group>
</trans-unit>
<trans-unit id="3954794666010631211" datatype="html">
Expand Down Expand Up @@ -1099,46 +1099,53 @@
<context context-type="linenumber">263</context>
</context-group>
</trans-unit>
<trans-unit id="9bf7114db050131cebe145b5ee016e22dfd816e6" datatype="html">
<source>Enter URL</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/api/test/api-test.component.html</context>
<context context-type="linenumber">26</context>
</context-group>
</trans-unit>
<trans-unit id="896458a165a1aede12e3b6ce0db7a9f0274b2f55" datatype="html">
<source>Abort</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/api/test/api-test.component.html</context>
<context context-type="linenumber">32</context>
<context context-type="linenumber">34</context>
</context-group>
</trans-unit>
<trans-unit id="2c5ff8fa9c9aaec93f97e37c9a0edcd797194573" datatype="html">
<source>Send</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/api/test/api-test.component.html</context>
<context context-type="linenumber">33</context>
<context context-type="linenumber">35</context>
</context-group>
</trans-unit>
<trans-unit id="3b23e95d711e74df57c6316a98a63562d811fd7a" datatype="html">
<source> Save as API </source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/api/test/api-test.component.html</context>
<context context-type="linenumber">44,46</context>
<context context-type="linenumber">46,48</context>
</context-group>
</trans-unit>
<trans-unit id="RequestHeaders" datatype="html">
<source>Headers</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/api/test/api-test.component.html</context>
<context context-type="linenumber">57</context>
<context context-type="linenumber">59</context>
</context-group>
</trans-unit>
<trans-unit id="b24462580fa8e8a413289136bf06000e3efca8ad" datatype="html">
<source>Pre-request Script</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/api/test/api-test.component.html</context>
<context context-type="linenumber">109</context>
<context context-type="linenumber">111</context>
</context-group>
</trans-unit>
<trans-unit id="4fe28d7175e73742161ae1be178c113390afbea8" datatype="html">
<source>After-response Script</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/api/test/api-test.component.html</context>
<context context-type="linenumber">122</context>
<context context-type="linenumber">124</context>
</context-group>
</trans-unit>
<trans-unit id="798489073422308582" datatype="html">
Expand Down
Loading

0 comments on commit 3368617

Please sign in to comment.