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