Skip to content

Commit

Permalink
feat: now displays the full version string where applicable
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Bassett <[email protected]>
  • Loading branch information
cadriel committed Apr 10, 2021
1 parent 54924dc commit fdd7527
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 7 additions & 1 deletion src/components/settings/VersionSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,13 @@
:title="packageTitle(component)"
>
<template v-slot:sub-title>
<span v-if="component.key !== 'system'">{{ component.version }}</span>
<span v-if="component.key !== 'system' && 'full_version_string' in component">
{{ component.full_version_string }}
</span>
<span v-else>
{{ component.version }}
</span>

<span v-if="'remote_version' in component && hasUpdate(component.key)">
-> {{ component.remote_version }}
</span>
Expand Down
1 change: 1 addition & 0 deletions src/store/version/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export interface HashVersion {
remote_hash: string;
remote_version: string;
version: string;
full_version_string: string;
}

export interface CommitItem {
Expand Down
3 changes: 0 additions & 3 deletions todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

- fix color swap when changing printers
- add cpu time
- add full version string
- remove old config loads
- unshift pings and make sure we start with the local host first.
- clicking legend items when no chart throws error, fix.
- sync instances across moonraker db
- field selector for filesystem / history
Expand Down

0 comments on commit fdd7527

Please sign in to comment.