Skip to content

Conversation

@PhrozenByte
Copy link
Contributor

Fixes 'TypeError: can't access property starred, r is undefined' introduced in 00cf3d6 (#1512).

Fixes 'TypeError: can't access property starred, r is undefined' introduced in 00cf3d6 (fossar#1512).
@netlify
Copy link

netlify bot commented Sep 26, 2025

Deploy Preview for selfoss canceled.

Name Link
🔨 Latest commit ec5cb62
🔍 Latest deploy log https://app.netlify.com/projects/selfoss/deploys/68d69b228f2da300085419e3

(entryStatus) => entryStatus.id == id,
);
if (newStatus !== null) {
if (newStatus) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Not sure why I thought Array.find returns null rather than undefined. Generally, I prefer more explicit checks but here there is really no confusable.

Suggested change
if (newStatus) {
if (newStatus !== undefined) {

@jtojnar jtojnar merged commit ec5cb62 into fossar:master Sep 26, 2025
13 checks passed
@jtojnar jtojnar added this to the 2.20 milestone Sep 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants