From 4201ca61e2fa14698c12bca31157a33570a5a891 Mon Sep 17 00:00:00 2001 From: Kris Date: Wed, 2 Nov 2022 11:43:28 -0400 Subject: [PATCH] FIX: fix circle indicator on "my posts", color (#18844) --- .../lib/sidebar/user/community-section/my-posts-section-link.js | 2 +- app/assets/stylesheets/common/base/sidebar-section-link.scss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/app/lib/sidebar/user/community-section/my-posts-section-link.js b/app/assets/javascripts/discourse/app/lib/sidebar/user/community-section/my-posts-section-link.js index 6c25a32e255..01544b54d9d 100644 --- a/app/assets/javascripts/discourse/app/lib/sidebar/user/community-section/my-posts-section-link.js +++ b/app/assets/javascripts/discourse/app/lib/sidebar/user/community-section/my-posts-section-link.js @@ -79,7 +79,7 @@ export default class MyPostsSectionLink extends BaseSectionLink { } get suffixValue() { - if (this.hideCount) { + if (this._hasDraft && this.hideCount) { return "circle"; } } diff --git a/app/assets/stylesheets/common/base/sidebar-section-link.scss b/app/assets/stylesheets/common/base/sidebar-section-link.scss index b885a50beed..dd6c680eeb3 100644 --- a/app/assets/stylesheets/common/base/sidebar-section-link.scss +++ b/app/assets/stylesheets/common/base/sidebar-section-link.scss @@ -45,6 +45,7 @@ .sidebar-section-link-suffix { margin-left: 0.25rem; font-size: var(--font-down-4); + color: var(--tertiary-medium); } .sidebar-section-link-content-text {