mirror of
https://github.com/rommapp/romm.git
synced 2026-12-02 10:08:40 +01:00
docs: apply the second review-polish pass
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -11,8 +11,8 @@ import notificationApi from "@/services/api/notification";
|
||||
// Bumped by reset(), so a list requested for the previous user is dropped.
|
||||
let generation = 0;
|
||||
|
||||
// Marks what this tab sends, which it already shows, so its push stays quiet.
|
||||
// Not crypto.randomUUID: that needs a secure context, and RomM is often plain http.
|
||||
// Marks what this tab sends, so its push stays quiet. Math.random, as
|
||||
// crypto.randomUUID needs a secure context and RomM is often served over http.
|
||||
const TAB_ID = Math.random().toString(36).slice(2);
|
||||
|
||||
// No ids stands for every notification, as it does in the API.
|
||||
|
||||
Reference in New Issue
Block a user