Skip to content

fix(discover): Minicard should not crash on empty results#26454

Merged
Zylphrex merged 1 commit into
masterfrom
fix/discover-mini-card-should-not-crash-on-empty-results
Jun 8, 2021
Merged

fix(discover): Minicard should not crash on empty results#26454
Zylphrex merged 1 commit into
masterfrom
fix/discover-mini-card-should-not-crash-on-empty-results

Conversation

@Zylphrex

@Zylphrex Zylphrex commented Jun 8, 2021

Copy link
Copy Markdown
Member

Getting a colour palette for 0 items results in undefined which crashes with
a TypeError.

Fixes JAVASCRIPT-241M

Getting a colour palette for 0 items results in `undefined` which crashes with
a TypeError.
@Zylphrex Zylphrex enabled auto-merge (squash) June 8, 2021 14:58
@Zylphrex Zylphrex merged commit 4923598 into master Jun 8, 2021
@Zylphrex Zylphrex deleted the fix/discover-mini-card-should-not-crash-on-empty-results branch June 8, 2021 15:16
jan-auer added a commit to knaperek/sentry that referenced this pull request Jun 8, 2021
* master: (368 commits)
  ref(ui) remove createReactClass from withTags, withTeams and withOrganizations (getsentry#26444)
  fix: Update symbolicator snapshots (getsentry#26455)
  ref(appconnect): Store when itunes session was refreshed (getsentry#26154)
  fix(discover): Minicard should not crash on empty results (getsentry#26454)
  meta: Add deprecation warning for js globals in custom plugins (getsentry#26425)
  feat: Add a project/status/last-seen index to sentry_groupedmessage (getsentry#26416)
  feat(ui): Add prev/next to release details (getsentry#26323)
  feat(api): Return first and last releases on date sort (getsentry#26417)
  perf(releases): Append-only version of release archive merge (getsentry#26424)
  feat: App store connect feature branch (getsentry#26446)
  fix(config): Remove static Relays from default server config (getsentry#26434)
  deps(pyjwt): try again to upgrade pyjwt (getsentry#26439)
  ref(jwt): Put JWT usage behind our own abstraction plus upgrade it (getsentry#26140)
  fix(workflow): Change %-based condition IntegerField into FloatField (getsentry#26412)
  feat(workflow): Add team and name filters to incident history (getsentry#26253)
  feat(sandbox): expose focus trap (getsentry#26414)
  fix(issue-details-page): Fix release artifacts distributon (getsentry#26423)
  added media breakpoint for search (getsentry#26415)
  ref(perf): Try increasing limit for histogram (getsentry#26376)
  feat(growth): redirect out of disabled member page (getsentry#26395)
  ...
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants