Skip to content

Commit 9160488

Browse files
authored
! Fix unable to add video to any playlist (#8082)
1 parent 5fb69be commit 9160488

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/helpers/playlists.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function compareTwoPlaylistItems(a, b, sortOrder, collator) {
8686
}
8787

8888
export const generateRandomUniqueId = crypto.randomUUID
89-
? crypto.randomUUID
89+
? crypto.randomUUID.bind(crypto)
9090
: () => `id-${Date.now()}-${Math.floor(Math.random() * 10000)}`
9191

9292
/**

0 commit comments

Comments
 (0)