From 9527167fbc8774d57fce206b40800f249fd50ed8 Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Sun, 3 Jan 2021 19:01:14 +0100 Subject: [PATCH] StatCards direct linking to detail page --- src/components/MainDashContent.svelte | 2 +- src/components/StatCards.svelte | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/MainDashContent.svelte b/src/components/MainDashContent.svelte index 71c90c56..5a774d20 100644 --- a/src/components/MainDashContent.svelte +++ b/src/components/MainDashContent.svelte @@ -13,7 +13,7 @@ }}>

- {$_('dashboard-title')} + {$_('dashboard-title')} - {$_('dashboard-greeting')}, + import { StatsService } from "@odit/lfk-client-js"; import { _ } from "svelte-i18n"; - import { TrackService, StatsService } from "@odit/lfk-client-js"; const stats_promise = StatsService.statsControllerGet(); stats_promise.then((res) => { console.log(res); @@ -19,7 +19,7 @@ {:then stats} - - + {:catch error}