Tiny changes
This commit is contained in:
		
							parent
							
								
									6b38499bdc
								
							
						
					
					
						commit
						790fd43369
					
				
					 5 changed files with 4 additions and 8 deletions
				
			
		|  | @ -57,7 +57,6 @@ const App = () => { | |||
| 
 | ||||
| const updateTitle = (newNotificationsCount) => { | ||||
|   document.title = newNotificationsCount > 0 ? `(${newNotificationsCount}) ntfy` : "ntfy"; | ||||
| 
 | ||||
|   window.navigator.setAppBadge?.(newNotificationsCount); | ||||
| }; | ||||
| 
 | ||||
|  |  | |||
|  | @ -86,7 +86,7 @@ const Notifications = () => { | |||
|         <Sound /> | ||||
|         <MinPriority /> | ||||
|         <DeleteAfter /> | ||||
|         <WebPushEnabled /> | ||||
|         {config.enable_web_push && <WebPushEnabled />} | ||||
|       </PrefGroup> | ||||
|     </Card> | ||||
|   ); | ||||
|  | @ -639,7 +639,7 @@ const ReservationsTable = (props) => { | |||
|   }; | ||||
| 
 | ||||
|   const handleSubscribeClick = async (reservation) => { | ||||
|     await subscribeTopic(config.base_url, reservation.topic); | ||||
|     await subscribeTopic(config.base_url, reservation.topic, {}); | ||||
|   }; | ||||
| 
 | ||||
|   return ( | ||||
|  |  | |||
|  | @ -174,7 +174,6 @@ export const SubscriptionPopup = (props) => { | |||
|           <ListItemIcon> | ||||
|             <Edit fontSize="small" /> | ||||
|           </ListItemIcon> | ||||
| 
 | ||||
|           {t("action_bar_change_display_name")} | ||||
|         </MenuItem> | ||||
|         {showReservationAdd && ( | ||||
|  | @ -190,7 +189,6 @@ export const SubscriptionPopup = (props) => { | |||
|             <ListItemIcon> | ||||
|               <Lock fontSize="small" color="disabled" /> | ||||
|             </ListItemIcon> | ||||
| 
 | ||||
|             <span style={{ opacity: 0.3 }}>{t("action_bar_reservation_add")}</span> | ||||
|             <ReserveLimitChip /> | ||||
|           </MenuItem> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue