From 5c549a46e5ef45e5c15043f3cd5947c8ea4092a1 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 26 May 2022 17:21:38 -0400 Subject: [PATCH] ServiceWorker: add missing jsdoc comment to expandNotification --- app/soapbox/service_worker/web_push_notifications.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/soapbox/service_worker/web_push_notifications.ts b/app/soapbox/service_worker/web_push_notifications.ts index 099bf8f45..9939f88a2 100644 --- a/app/soapbox/service_worker/web_push_notifications.ts +++ b/app/soapbox/service_worker/web_push_notifications.ts @@ -206,6 +206,7 @@ const findBestClient = (clients: readonly WindowClient[]): WindowClient => { return focusedClient || visibleClient || clients[0]; }; +/** Update a notification with CW to display the full status. */ const expandNotification = (notification: Notification) => { const newNotification = cloneNotification(notification);