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:
parent
144ff55395
commit
98e0f2ac85
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user