Skip to content

Commit

Permalink
feat: incl full hash of moonraker and klipper in footer
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Bassett <[email protected]>
  • Loading branch information
cadriel committed Mar 13, 2021
1 parent d05544b commit 85b6e84
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/components/AppFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
<v-footer app absolute>
<span class="font-weight-light grey--text">
&copy; {{ new Date().getFullYear() }}
fluidd: v{{ systemInfo.version }}-{{ systemInfo.hash }}
fluidd: v{{ appInfo.fluidd.version }}-{{ appInfo.fluidd.hash }},
moonraker: {{ appInfo.components.moonraker.current_hash }},
klipper: {{ appInfo.components.klipper.current_hash }}
</span>
<!-- <pre>{{ appInfo }}</pre> -->
</v-footer>
</template>

Expand All @@ -13,11 +16,15 @@ import { Component } from 'vue-property-decorator'
@Component({})
export default class Footer extends Vue {
get systemInfo () {
get clientInfo () {
return {
version: this.$store.state.version.fluidd.version,
hash: this.$store.state.version.fluidd.hash
}
}
get appInfo () {
return this.$store.state.version
}
}
</script>

0 comments on commit 85b6e84

Please sign in to comment.