Allow importing and exporting environments to gist

This commit is contained in:
Liyas Thomas
2020-12-08 12:18:28 +05:30
parent 2978c8adfe
commit b473ed7cb7
2 changed files with 90 additions and 4 deletions

View File

@@ -11,6 +11,12 @@
<i class="material-icons">more_vert</i>
</button>
<template slot="popover">
<div>
<button class="icon" @click="readCollectionGist" v-close-popover>
<i class="material-icons">code</i>
<span>{{ $t("import_from_gist") }}</span>
</button>
</div>
<div
v-tooltip="{
content:
@@ -19,10 +25,6 @@
: null,
}"
>
<button class="icon" @click="readCollectionGist" v-close-popover>
<i class="material-icons">code</i>
<span>{{ $t("import_from_gist") }}</span>
</button>
<button
:disabled="
this.$store.state.postwoman.providerInfo.providerId !== 'github.com'