mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 00:12:11 +08:00
code refactor
This commit is contained in:
+5
-5
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user