Skip to content

Commit

Permalink
refactor: typing improvements
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Lamas <[email protected]>
  • Loading branch information
pedrolamas committed Oct 18, 2024
1 parent 8a61ba4 commit 33076b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/settings/GeneralSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -521,10 +521,10 @@ export default class GeneralSettings extends Mixins(StateMixin) {
}
get printProgressCalculation () {
return this.$store.state.config.uiSettings.general.printProgressCalculation as PrintProgressCalculation
return this.$store.state.config.uiSettings.general.printProgressCalculation as PrintProgressCalculation[]
}
set printProgressCalculation (value: string) {
set printProgressCalculation (value: PrintProgressCalculation[]) {
this.$store.dispatch('config/saveByPath', {
path: 'uiSettings.general.printProgressCalculation',
value,
Expand Down

0 comments on commit 33076b2

Please sign in to comment.