cleanup
This commit is contained in:
@@ -2,13 +2,14 @@
|
||||
import {RouterView} from 'vue-router';
|
||||
import {EditLedgerModal, useLedgersStore} from "@/ledger";
|
||||
import {ref} from "vue";
|
||||
import {processingApi} from "@/mammon";
|
||||
import {activityApi, processingApi} from "@/mammon";
|
||||
|
||||
const {refresh} = useLedgersStore();
|
||||
|
||||
const editLedgerModal = ref<typeof EditLedgerModal>();
|
||||
|
||||
const processActivities = async () => {
|
||||
await activityApi.fetchAllNewActivities();
|
||||
await processingApi.processNewActivities();
|
||||
await refresh();
|
||||
}
|
||||
|
||||
@@ -4,9 +4,9 @@ import {RouterLink} from 'vue-router';
|
||||
import {routeNames} from '@/routes';
|
||||
|
||||
const links = [
|
||||
{name: "Market", path: "/market"},
|
||||
{name: "Ledger", path: "/ledgers"},
|
||||
{name: "Rules", path: "/rules"},
|
||||
{name: "Market", path: "/market"},
|
||||
{name: "Reprocess", path: "/reprocess"},
|
||||
{name: "Tools", path: "/tools"}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user