Skip to content

Commit 31b0df4

Browse files
committed
rename setting to showHiddenOutputs
1 parent f54ee0c commit 31b0df4

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/components/widgets/outputs/Outputs.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ import type { Fan, Led, OutputPin } from '@/store/printer/types'
5656
})
5757
export default class Outputs extends Mixins(StateMixin) {
5858
get showHidden () {
59-
return this.$store.state.config.uiSettings.general.showHidden
59+
return this.$store.state.config.uiSettings.general.showHiddenOutputs
6060
}
6161
6262
get all () {

src/components/widgets/outputs/OutputsCard.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ import Outputs from '@/components/widgets/outputs/Outputs.vue'
5555
})
5656
export default class OutputsCard extends Vue {
5757
get showHidden () {
58-
return this.$store.state.config.uiSettings.general.showHidden
58+
return this.$store.state.config.uiSettings.general.showHiddenOutputs
5959
}
6060
6161
set showHidden (value: boolean) {
6262
this.$store.dispatch('config/saveByPath', {
63-
path: 'uiSettings.general.showHidden',
63+
path: 'uiSettings.general.showHiddenOutputs',
6464
value,
6565
server: true
6666
})

src/store/config/state.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const defaultState = (): ConfigState => {
7070
enableDiagnostics: false,
7171
thumbnailSize: 32,
7272
colorPickerValueRange: 'absolute',
73-
showHidden: false
73+
showHiddenOutputs: false
7474
},
7575
theme: {
7676
isDark: true,

src/store/config/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export interface GeneralConfig {
108108
enableDiagnostics: boolean;
109109
thumbnailSize: number;
110110
colorPickerValueRange: ColorPickerValueRange;
111-
showHidden: boolean;
111+
showHiddenOutputs: boolean;
112112
}
113113

114114
export type ToolheadControlStyle = 'cross' | 'bars' | 'circle'

0 commit comments

Comments
 (0)