Skip to content

Commit

Permalink
Merge pull request #140 from simple-login/display-version
Browse files Browse the repository at this point in the history
display the extension version at the bottom of the Settings page
  • Loading branch information
nguyenkims authored May 20, 2022
2 parents 282fdfc + 9f81407 commit 9cd92c4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/popup/components/AppSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@
>
Logout
</button>

<div
class="font-weight-light"
style="position: fixed; bottom: 0; right: 2px; font-size: 0.8rem;"
>
Version: {{ extension_version }}
</div>
</div>
</div>
</template>
Expand All @@ -76,6 +83,7 @@ export default {
showSLButton: false,
positionSLButton: "right-inside",
reportURISLButton: "",
extension_version: "development",
};
},
async mounted() {
Expand All @@ -84,6 +92,7 @@ export default {
SLStorage.SETTINGS.SL_BUTTON_POSITION
);
await this.setMailToUri();
this.extension_version = browser.runtime.getManifest().version;
},
methods: {
async handleToggleSLButton() {
Expand Down

0 comments on commit 9cd92c4

Please sign in to comment.