File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed
Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ const App = () => {
165165 domain : team . domain ,
166166 createdAt : team . createdAt ,
167167 subscription : team . subscription ,
168+ personal : team . personal ,
168169 iconUrl :
169170 team . icon != null
170171 ? getBoostHubTeamIconUrl ( team . icon . location )
Original file line number Diff line number Diff line change @@ -334,7 +334,10 @@ const TopLevelNavigator = () => {
334334 icon : mdiClockOutline ,
335335 onClick : boostHubToggleSidebarTimelineEventEmitter . dispatch ,
336336 } ,
337- {
337+ ]
338+
339+ if ( ! boosthubTeam . personal ) {
340+ rows . push ( {
338341 tooltip : 'Notifications' ,
339342 icon :
340343 notificationCount > 0 ? (
@@ -347,8 +350,8 @@ const TopLevelNavigator = () => {
347350 mdiBellOutline
348351 ) ,
349352 onClick : boostHubToggleSidebarNotificationsEventEmitter . dispatch ,
350- } ,
351- ]
353+ } )
354+ }
352355
353356 if (
354357 boosthubTeam . subscription == null &&
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ export type DesktopGlobalDataResponseBody = {
7474 icon ?: { location : string }
7575 createdAt : string
7676 subscription ?: SerializedSubscription
77+ personal : boolean
7778 } [ ]
7879}
7980
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ export interface GeneralStatus {
2222 iconUrl ?: string
2323 createdAt : string
2424 subscription ?: SerializedSubscription
25+ personal : boolean
2526 } [ ]
2627 showingNoteContextMenu : boolean
2728 sidebarTreeSortingOrder : SidebarTreeSortingOrder
You can’t perform that action at this time.
0 commit comments