refactor: modals (#1720)

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
This commit is contained in:
Ilya
2021-06-15 13:18:38 +05:00
committed by GitHub
parent 7cbb61bdf8
commit 5fe8fce89d
9 changed files with 38525 additions and 175 deletions

View File

@@ -2169,15 +2169,6 @@ export default {
e.preventDefault()
this.$refs.clearAll.click()
}
if (e.key === "Escape") {
e.preventDefault()
this.showCurlImportModal =
this.showTokenListModal =
this.showTokenRequestList =
this.showSaveRequestModal =
this.showCodegenModal =
false
}
if ((e.key === "g" || e.key === "G") && e.altKey) {
this.method = "GET"
}