0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 00:10:11 -05:00

🐛 Don't count draft as a project.

This commit is contained in:
Andrey Antukh 2020-12-03 15:49:12 +01:00 committed by Alonso Torres
parent 2bd89c94d9
commit 03639cb9ac

View file

@ -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)))]]]]]]]))