Extension Version is reported on the settings page
This commit is contained in:
@@ -129,6 +129,15 @@
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="info">
|
||||
<li v-if="extensionVersion != null">
|
||||
Extension Verison: v{{ extensionVersion.major }}.{{ extensionVersion.minor }}
|
||||
</li>
|
||||
|
||||
<li v-else>
|
||||
Extension Verison: Not Reported
|
||||
</li>
|
||||
</ul>
|
||||
</pw-section>
|
||||
|
||||
<pw-section class="blue" :label="$t('proxy')" ref="proxy">
|
||||
@@ -210,6 +219,7 @@
|
||||
<script>
|
||||
import firebase from "firebase/app"
|
||||
import { fb } from "~/helpers/fb"
|
||||
import { hasExtensionInstalled } from "../helpers/strategies/ExtensionStrategy"
|
||||
|
||||
export default {
|
||||
components: {
|
||||
@@ -299,6 +309,10 @@ export default {
|
||||
},
|
||||
],
|
||||
|
||||
extensionVersion: hasExtensionInstalled()
|
||||
? window.__POSTWOMAN_EXTENSION_HOOK__.getVersion()
|
||||
: null,
|
||||
|
||||
settings: {
|
||||
SCROLL_INTO_ENABLED:
|
||||
typeof this.$store.state.postwoman.settings.SCROLL_INTO_ENABLED !== "undefined"
|
||||
|
||||
Reference in New Issue
Block a user