classic-ui/modules/account/injectors/сontrolInjectors.js
FreezyEx b32527e057 Revert "minor fixes"
This reverts commit 7f8f7c2aa15c8b8c6a7449d177f46f8a417e2f67.
2022-10-13 16:03:54 +02: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'])
}