diff --git a/app/components/sidebar.rb b/app/components/sidebar.rb index a81ccf48..59dd5c59 100644 --- a/app/components/sidebar.rb +++ b/app/components/sidebar.rb @@ -38,11 +38,14 @@ def nav_items # Add verification link if user needs to submit or resubmit if current_identity.present? status = current_identity.verification_status + + if status == "needs_submission" || status == "pending" items << { label: t("sidebar.verification"), path: new_verifications_path, - icon: status == "pending" ? "clock" : "card-id" + icon: status == "pending" ? "clock" : "card-id", + badge: 1 } end end