fix: remove stale state file

This commit is contained in:
liyasthomas
2021-06-29 06:37:42 +05:30
parent d5c5fb7435
commit 729f341164
4 changed files with 0 additions and 580 deletions

View File

@@ -527,12 +527,6 @@ export default {
}
},
computed: {
selectedRequest() {
return this.$store.state.postwoman.selectedGraphqlRequest
},
editingRequest() {
return this.$store.state.postwoman.editingRequest
},
filteredQueryFields() {
return this.getFilteredGraphqlFields({
filterText: this.graphqlFieldsFilterText,
@@ -609,15 +603,6 @@ export default {
},
},
},
watch: {
selectedRequest(newValue) {
if (!newValue) return
this.url = newValue.url
this.gqlQueryString = newValue.query
this.headers = newValue.headers
this.variableString = newValue.variables
},
},
mounted() {
if (
this.$store.state.gql.schemaIntrospection &&

View File

@@ -843,9 +843,6 @@ export default {
EXPERIMENTAL_URL_BAR_ENABLED: getSettingSubject(
"EXPERIMENTAL_URL_BAR_ENABLED"
),
SYNC_COLLECTIONS: getSettingSubject("syncCollections"),
SYNC_HISTORY: getSettingSubject("syncHistory"),
}
},
watch: {
@@ -930,10 +927,6 @@ export default {
}
this.name = newValue.name
},
editingRequest(newValue) {
this.editRequest = newValue
this.showSaveRequestModal = true
},
method() {
this.contentType = ["POST", "PUT", "PATCH", "DELETE"].includes(
this.method
@@ -1223,12 +1216,6 @@ export default {
})
},
},
selectedRequest() {
return this.$store.state.postwoman.selectedRequest
},
editingRequest() {
return this.$store.state.postwoman.editingRequest
},
requestName() {
return this.name
},
@@ -1336,12 +1323,6 @@ export default {
},
},
methods: {
checkCollections() {
const checkCollectionAvailability =
this.$store.state.postwoman.collections &&
this.$store.state.postwoman.collections.length > 0
return checkCollectionAvailability
},
scrollInto(view) {
this.$refs[view].$el.scrollIntoView({
behavior: "smooth",
@@ -2005,13 +1986,6 @@ export default {
testScript: this.testsEnabled == true ? this.testScript : null,
name: this.requestName,
}
if (this.selectedRequest.url) {
this.editRequest = Object.assign(
{},
this.selectedRequest,
this.editRequest
)
}
this.showSaveRequestModal = true
},
hideRequestModal() {