feat: show global envs on hover

This commit is contained in:
liyasthomas
2021-08-18 10:34:20 +05:30
parent 6af42e5e08
commit c949783698
5 changed files with 43 additions and 22 deletions

View File

@@ -115,6 +115,19 @@ export default defineComponent({
icon: "cookie",
duration: 0,
action: [
{
text: this.$t("action.learn_more").toString(),
onClick: (_, toastObject) => {
setLocalConfig("cookiesAllowed", "yes")
toastObject.goAway(0)
window
.open(
"https://github.com/hoppscotch/hoppscotch/wiki/Privacy-Policy",
"_blank"
)
.focus()
},
},
{
text: this.$t("action.dismiss").toString(),
onClick: (_, toastObject) => {