Push updated files
This commit is contained in:
@@ -1443,12 +1443,11 @@ export default {
|
||||
|
||||
settings: {
|
||||
SCROLL_INTO_ENABLED:
|
||||
typeof this.$store.state.postwoman.settings.SCROLL_INTO_ENABLED !==
|
||||
"undefined"
|
||||
typeof this.$store.state.postwoman.settings.SCROLL_INTO_ENABLED !== "undefined"
|
||||
? this.$store.state.postwoman.settings.SCROLL_INTO_ENABLED
|
||||
: true
|
||||
}
|
||||
};
|
||||
: true,
|
||||
},
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
urlExcludes: {
|
||||
@@ -1970,21 +1969,14 @@ export default {
|
||||
behavior: "smooth",
|
||||
})
|
||||
},
|
||||
handleUseHistory({
|
||||
label,
|
||||
method,
|
||||
url,
|
||||
path,
|
||||
usesScripts,
|
||||
preRequestScript
|
||||
}) {
|
||||
this.label = label;
|
||||
this.method = method;
|
||||
this.url = url;
|
||||
this.path = path;
|
||||
this.showPreRequestScript = usesScripts;
|
||||
this.preRequestScript = preRequestScript;
|
||||
this.settings.SCROLL_INTO_ENABLED && this.scrollInto("request");
|
||||
handleUseHistory({ label, method, url, path, usesScripts, preRequestScript }) {
|
||||
this.label = label
|
||||
this.method = method
|
||||
this.url = url
|
||||
this.path = path
|
||||
this.showPreRequestScript = usesScripts
|
||||
this.preRequestScript = preRequestScript
|
||||
this.settings.SCROLL_INTO_ENABLED && this.scrollInto("request")
|
||||
},
|
||||
getVariablesFromPreRequestScript() {
|
||||
if (!this.preRequestScript) {
|
||||
@@ -2019,8 +2011,8 @@ export default {
|
||||
return await sendNetworkRequest(requestOptions, this.$store)
|
||||
},
|
||||
async sendRequest() {
|
||||
this.$toast.clear();
|
||||
this.settings.SCROLL_INTO_ENABLED && this.scrollInto("response");
|
||||
this.$toast.clear()
|
||||
this.settings.SCROLL_INTO_ENABLED && this.scrollInto("response")
|
||||
|
||||
if (!this.isValidURL) {
|
||||
this.$toast.error(this.$t("url_invalid_format"), {
|
||||
|
||||
Reference in New Issue
Block a user