Skip to content

Commit

Permalink
feat: Add version string to bottom of settings page
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Oct 15, 2018
1 parent adfbc8e commit 7a0628e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/renderer/components/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@
<b-button type="submit" variant="primary">Save</b-button>
<b-button type="reset" variant="danger">Reset</b-button>

<p>Version: {{ version }}</p>

</b-form>
</b-col>
</b-row>
Expand All @@ -124,6 +126,7 @@

<script>
const {ipcRenderer} = require('electron')
const packageJson = require('../../../package.json')
export default {
created () {
Expand All @@ -150,6 +153,7 @@
},
data () {
return {
version: packageJson.version,
config: {
api: {
staticPaths: []
Expand Down

0 comments on commit 7a0628e

Please sign in to comment.