Skip to content
Snippets Groups Projects
Commit 6b5c2317 authored by Cam Saül's avatar Cam Saül
Browse files

Logic tweaks for admin setup :information_desk_person:

parent 3f7b7fb9
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@
;;; Admin Checklist
(defn- admin-checklist-values []
(let [has-dbs? (db/exists? Database)
(let [has-dbs? (db/exists? Database, :is_sample false)
has-dashboards? (db/exists? 'Dashboard)
has-pulses? (db/exists? 'Pulse)
has-labels? (db/exists? 'Label)
......@@ -124,7 +124,7 @@
:group "Get connected"
:description "Share answers and data with the rest of your team."
:link "/admin/people/"
:completed (>= num-users 1)
:completed (> num-users 1)
:triggered (or has-dashboards?
has-pulses?
(>= num-cards 5))}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment