classic-ui-dev/modules/account/injectors/сontrolInjectors.js

20 lines
559 B
JavaScript
Raw Normal View History

2022-04-21 23:05:56 -04:00
import { mapActions, mapGetters } from 'vuex'
export const controlMethods = {
...mapActions('notice', ['addNoticeWithInterval']),
...mapActions('encryptedNote', ['decryptNotes', 'removeAccount', 'enabledSaveFile', 'getRecoveryKey'])
}
export const controlComputed = {
...mapGetters('encryptedNote', ['isEnabledSaveFile', 'isSetupAccount'])
}
export const statisticComputed = {
...mapGetters('encryptedNote', ['statistic']),
...mapGetters('token', ['getSymbol'])
}
export const headerComputed = {
...mapGetters('encryptedNote', ['accounts'])
}