Skip to content

Commit 9e3693a

Browse files
committed
Fixing issue added by rebase
1 parent 27a8e29 commit 9e3693a

2 files changed

Lines changed: 1 addition & 12 deletions

File tree

src/store/printer/actions.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -152,16 +152,4 @@ export const actions: ActionTree<PrinterState, RootState> = {
152152
clearScrewsTiltAdjust({ commit }) {
153153
commit('clearScrewsTiltAdjust')
154154
},
155-
156-
initRecoreState({ commit, dispatch }, payload) {
157-
commit('setRecoreState', payload.recore_state)
158-
dispatch('socket/removeInitModule', 'printer/recoreState', { root: true })
159-
},
160-
161-
updateRecoreState({ commit, dispatch }, payload) {
162-
if (payload.result == 'ok') {
163-
if (payload.requestParams.type == 'ssh') commit('setRecoreSshEnabled', payload.requestParams.value)
164-
else if (payload.requestParams.type == 'media') commit('setRecoreBootMedia', payload.requestParams.value)
165-
}
166-
},
167155
}

src/store/printer/mutations.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export const mutations: MutationTree<PrinterState> = {
6262
clearScrewsTiltAdjust(state) {
6363
Vue.set(state.screws_tilt_adjust, 'error', false)
6464
Vue.set(state.screws_tilt_adjust, 'results', {})
65+
},
6566

6667
setRecoreSshEnabled(state, is_enabled){
6768
Vue.set(state, 'recore_state', {

0 commit comments

Comments
 (0)