code refactor

This commit is contained in:
MaysWind
2021-03-14 01:18:36 +08:00
parent 386bfa0db4
commit 410660ed7f
16 changed files with 54 additions and 54 deletions
+5 -5
View File
@@ -1,8 +1,8 @@
import datetimeConstants from "../consts/datetime.js";
import statisticsConstants from "../consts/statistics.js";
import userState from "../lib/userstate.js";
import settings from "../lib/settings.js";
import utils from "../lib/utils.js";
import datetimeConstants from '../consts/datetime.js';
import statisticsConstants from '../consts/statistics.js';
import userState from '../lib/userstate.js';
import settings from '../lib/settings.js';
import utils from '../lib/utils.js';
import {
RESET_STATE,
+1 -1
View File
@@ -2,7 +2,7 @@ import services from '../lib/services.js';
import logger from '../lib/logger.js';
import utils from '../lib/utils.js';
import { getExchangedAmount } from "./exchangeRates.js";
import { getExchangedAmount } from './exchangeRates.js';
import {
LOAD_TRANSACTION_OVERVIEW,
+1 -1
View File
@@ -6,7 +6,7 @@ import {
INIT_TRANSACTION_STATISTICS_FILTER,
UPDATE_TRANSACTION_STATISTICS_FILTER,
UPDATE_TRANSACTION_STATISTICS_INVALID_STATE
} from "./mutations.js";
} from './mutations.js';
export function loadTransactionStatistics(context, { defaultCurrency }) {
return new Promise((resolve, reject) => {
+1 -1
View File
@@ -3,7 +3,7 @@ import services from '../lib/services.js';
import logger from '../lib/logger.js';
import utils from '../lib/utils.js';
import { getExchangedAmount } from "./exchangeRates.js";
import { getExchangedAmount } from './exchangeRates.js';
import {
LOAD_TRANSACTION_LIST,