From 08861e44bc9d32c950aedabc49b393f11ccbe782 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Wed, 20 Dec 2017 16:09:29 +0100 Subject: [PATCH] dual account selection --- public/ts/components/dashboard.ts | 35 +++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 9 deletions(-) diff --git a/public/ts/components/dashboard.ts b/public/ts/components/dashboard.ts index 1be580a..217e154 100644 --- a/public/ts/components/dashboard.ts +++ b/public/ts/components/dashboard.ts @@ -4,6 +4,7 @@ app.component('dashboard', function($filter, API) { let ctrl = this; ctrl.granularity = "monthly"; + ctrl.account_selection = "depth"; let is_monthly = () => { return ctrl.granularity == "monthly"; }; @@ -167,18 +168,34 @@ ${prepare_series(e.series).map((s) => { return format_line(s); }).join("")} } ], - template: ` + template: `
- - -
    -
  • - - -
  • -
+
+ + +
+
+
    +
  • + + +
  • +
+ + +
+ +
+ + +