classic-ui/modules/account/injectors/сontrolInjectors.js
Danil Kovtonyuk 44f31f8b9f
init
2022-04-22 13:14:19 +10:00

20 lines
559 B
JavaScript

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'])
}