From 03639cb9ac5e96c73f9f098c4f45998ce2e27b12 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 3 Dec 2020 15:49:12 +0100 Subject: [PATCH] :bug: Don't count draft as a project. --- frontend/src/app/main/ui/dashboard/team.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/dashboard/team.cljs b/frontend/src/app/main/ui/dashboard/team.cljs index 407a3d239c..fc3039e5f9 100644 --- a/frontend/src/app/main/ui/dashboard/team.cljs +++ b/frontend/src/app/main/ui/dashboard/team.cljs @@ -302,7 +302,7 @@ [:div.label (tr "dashboard.team-projects")] [:div.projects [:span.icon i/folder] - [:span.text (tr "labels.num-of-projects" (i18n/c (:projects stats)))]] + [:span.text (tr "labels.num-of-projects" (i18n/c (dec (:projects stats))))]] [:div.files [:span.icon i/file-html] [:span.text (tr "labels.num-of-files" (i18n/c (:files stats)))]]]]]]]))