diff --git a/src/sw.js b/src/sw.js
index 0aab275b6e46bacf7443988f3dbd56ce50b19e83..d0050b24e6d8ac3b9a1b4659a21c7ea01c3a4de4 100644
--- a/src/sw.js
+++ b/src/sw.js
@@ -64,7 +64,7 @@ const maybeShowNotification = async (event) => {
   const enabled = await isEnabled()
   const activeClients = await getWindowClients()
   await setLocale()
-  if (enabled && activeClients) {
+  if (enabled && (activeClients.length === 0)) {
     const data = event.data.json()
 
     const url = `${self.registration.scope}api/v1/notifications/${data.notification_id}`