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

7 lines
181 B
JavaScript
Raw Permalink Normal View History

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