classic-ui/modules/account/store/actions/enabledSaveFile.js
Danil Kovtonyuk 44f31f8b9f
init
2022-04-22 13:14:19 +10:00

7 lines
181 B
JavaScript

export function enabledSaveFile({ dispatch, getters }) {
dispatch('createMutation', {
type: 'ENABLED_SAVE_FILE',
payload: { isEnabled: !getters.isEnabledSaveFile }
})
}