The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Hide ping unless theres new notifications
Joshen Lim10cc64cd43c1
diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/index.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/index.tsxindex 52378039555..35cc551c0cd 100644--- a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/index.tsx+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/index.tsx@@ -90,10 +90,12 @@ const NotificationsPopover: FC<Props> = () => {type={hasNewNotifications ? 'default' : 'text'}icon={<IconBell size={16} strokeWidth={1.5} className="text-scale-1200" />}/>- <div className="absolute -top-1 -right-1 z-50 flex h-3 w-3 items-center justify-center">- <div className="h-full w-full animate-ping rounded-full bg-green-800 opacity-60"></div>- <div className="z-60 absolute top-0 right-0 h-full w-full rounded-full bg-green-900 opacity-80"></div>- </div>+ {hasNewNotifications && (+ <div className="absolute -top-1 -right-1 z-50 flex h-3 w-3 items-center justify-center">+ <div className="h-full w-full animate-ping rounded-full bg-green-800 opacity-60"></div>+ <div className="z-60 absolute top-0 right-0 h-full w-full rounded-full bg-green-900 opacity-80"></div>+ </div>+ )}</div></Popover>)