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

7 lines
181 B
JavaScript
Raw Permalink Normal View History

2022-04-22 06:05:56 +03:00
export function enabledSaveFile({ dispatch, getters }) {
dispatch('createMutation', {
type: 'ENABLED_SAVE_FILE',
payload: { isEnabled: !getters.isEnabledSaveFile }
})
}