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

7 lines
181 B
JavaScript
Raw Normal View History

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