This commit is contained in:
2020-06-14 15:58:48 +00:00
parent 8f610a52a5
commit fa0ee0dc24

View File

@@ -98,7 +98,6 @@
class="mt-4 mr-4"
>{{ $ay.t("PurchaseLicense") }}</v-btn
>
<v-btn @click="fetchKey()" class="mt-4">{{
$ay.t("CheckForLicense")
}}</v-btn>
@@ -114,6 +113,19 @@
issue If you have a backup Link to restore docs If you'd
like to start fresh contact to request license be freed up
again
<!-- Future purchase in app but for now -->
<v-col cols="12">
<v-btn @click="helpRestoreData()" class="mt-4 mr-4">{{
$ay.t("HelpRestore")
}}</v-btn>
<v-btn @click="helpReleaseKey()" class="mt-4 mr-4">{{
$ay.t("HelpReleaseKey")
}}</v-btn>
<v-btn @click="fetchKey()" class="mt-4">{{
$ay.t("CheckForLicense")
}}</v-btn>
</v-col>
</v-expansion-panel-content>
</v-expansion-panel>
</v-expansion-panels>
@@ -224,6 +236,18 @@ export default {
this.currentLicenseInfo.serverDbId
);
},
helpRestore() {
window.$gz.eventBus.$emit("menu-click", {
key: "app:help",
data: "ops-restore"
});
},
helpReleaseKey() {
window.$gz.eventBus.$emit("menu-click", {
key: "app:help",
data: "ops-request-key-release"
});
},
showLicenseUi() {
/* public enum LicenseStatus
{
@@ -451,9 +475,11 @@ function fetchTranslatedText(vm) {
"RequestEvaluationLicense",
"LicenseEmailVerficationHint",
"EvaluationRequestReceived",
"AdminEraseDatabaseWarning", //preexisting
"AdminEraseDatabaseWarning",
"NewLicenseInstalled",
"NewLicenseNotFound"
"NewLicenseNotFound",
"HelpReleaseKey",
"HelpRestore"
]);
}