From 117706e3a7eff4a7948a2d2c2c287d15d6222799 Mon Sep 17 00:00:00 2001 From: Milad Raeisi Date: Sat, 16 Nov 2024 20:38:31 +0400 Subject: [PATCH] Removed console log in PostComponent and updated badge title in defaultNavigation --- src/app/layout/common/post/post.component.ts | 3 --- src/app/layout/navigation/data.ts | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/app/layout/common/post/post.component.ts b/src/app/layout/common/post/post.component.ts index a8d7417..f63adf7 100644 --- a/src/app/layout/common/post/post.component.ts +++ b/src/app/layout/common/post/post.component.ts @@ -120,9 +120,6 @@ export class PostComponent implements OnInit, OnDestroy { } private onItemChange() { - // Function to call when item is set - console.log('Item has been changed:', this._item); - if (this._item.content) { this.tokens.set(this.parseContent.parseContent(this._item.content)); } else { diff --git a/src/app/layout/navigation/data.ts b/src/app/layout/navigation/data.ts index 748aac6..5528825 100644 --- a/src/app/layout/navigation/data.ts +++ b/src/app/layout/navigation/data.ts @@ -30,7 +30,7 @@ export const defaultNavigation: AngorNavigationItem[] = [ icon: 'heroicons_outline:chat-bubble-left-right', link: '/chat', badge: { - title: '27', + title: '0', classes: 'px-2 bg-[#086c81] text-white rounded-full', }, },