Extension Version is reported on the settings page
This commit is contained in:
parent
72ad37456a
commit
0246e09595
1 changed files with 14 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue