chore: add account id in account settings page (#3365)

Fixes: #3317
This commit is contained in:
Sanju
2021-11-27 09:07:09 +05:30
committed by GitHub
parent b326da7d94
commit 89f9f39e6e
38 changed files with 166 additions and 0 deletions

View File

@@ -78,6 +78,20 @@
</label>
</div>
</div>
<div class="profile--settings--row row">
<div class="columns small-3">
<h4 class="block-title">
{{ $t('GENERAL_SETTINGS.FORM.ACCOUNT_ID.TITLE') }}
</h4>
<p>
{{ $t('GENERAL_SETTINGS.FORM.ACCOUNT_ID.NOTE') }}
</p>
</div>
<div class="columns small-9 medium-5">
<woot-code :script="getAccountId"></woot-code>
</div>
</div>
<div class="current-version">
<div>{{ `v${globalConfig.appVersion}` }}</div>
<div v-if="hasAnUpdateAvailable && globalConfig.displayManifest">
@@ -167,6 +181,10 @@ export default {
featureCustomDomainEmailEnabled() {
return this.featureInboundEmailEnabled && !!this.customEmailDomainEnabled;
},
getAccountId() {
return this.id.toString();
},
},
mounted() {
if (!this.id) {