forked from Kieran/snort
disable notification graph in iris
This commit is contained in:
parent
509c1664c1
commit
be3f46c7f1
@ -15,7 +15,8 @@
|
||||
"analytics": true,
|
||||
"subscriptions": true,
|
||||
"deck": true,
|
||||
"zapPool": true
|
||||
"zapPool": true,
|
||||
"notificationGraph": true
|
||||
},
|
||||
"signUp": {
|
||||
"moderation": true,
|
||||
|
@ -15,7 +15,8 @@
|
||||
"analytics": true,
|
||||
"subscriptions": false,
|
||||
"deck": true,
|
||||
"zapPool": true
|
||||
"zapPool": true,
|
||||
"notificationGraph": false
|
||||
},
|
||||
"signUp": {
|
||||
"moderation": false,
|
||||
|
1
packages/app/custom.d.ts
vendored
1
packages/app/custom.d.ts
vendored
@ -57,6 +57,7 @@ declare const CONFIG: {
|
||||
subscriptions: boolean;
|
||||
deck: boolean;
|
||||
zapPool: boolean;
|
||||
notificationGraph: boolean;
|
||||
};
|
||||
signUp: {
|
||||
moderation: boolean;
|
||||
|
@ -98,9 +98,11 @@ export default function NotificationsPage({ onClick }: { onClick?: (link: NostrL
|
||||
return (
|
||||
<>
|
||||
<div className="main-content">
|
||||
{CONFIG.features.notificationGraph && (
|
||||
<Suspense fallback={<PageSpinner />}>
|
||||
<NotificationGraph evs={myNotifications} />
|
||||
</Suspense>
|
||||
)}
|
||||
{login.publicKey &&
|
||||
[...timeGrouped.entries()]
|
||||
.slice(0, showN)
|
||||
|
Loading…
Reference in New Issue
Block a user