classic-ui/modules/account/store/actions/enabledSaveFile.js

7 lines
187 B
JavaScript
Raw Normal View History

2022-10-13 16:50:29 +03:00
export function enabledSaveFile({ dispatch, getters }) {
dispatch('createMutation', {
type: 'ENABLED_SAVE_FILE',
payload: { isEnabled: !getters.isEnabledSaveFile }
})
}