2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 07:40:55 +00:00

feat: Show app version in sidebar

This commit is contained in:
Faris Ansari 2019-12-27 16:13:15 +05:30
parent 144ff55395
commit 98e0f2ac85

View File

@ -43,9 +43,11 @@
</div>
</div>
</div>
<div class="px-5 pb-3 text-sm text-gray-600">v{{ appVersion }}</div>
</div>
</template>
<script>
import { remote } from 'electron';
import sidebarConfig from '../sidebarConfig';
import WindowControls from './WindowControls';
@ -64,6 +66,9 @@ export default {
'background-color': 'rgba(255, 255, 255, 0.6)'
}
: null;
},
appVersion() {
return remote.app.getVersion();
}
},
components: {