Skip to content

Conversation

@ArtyomSavchenko
Copy link
Member

No description provided.

Signed-off-by: Artem Savchenko <armisav@gmail.com>
@huly-github-staging
Copy link

Connected to Huly®: UBERF-14243

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds null safety checks to the billing settings component to prevent potential runtime errors when currentGroup is undefined. This can occur when no billing groups are configured (e.g., when paymentUrl is not set).

Key Changes

  • Added optional chaining operator (?.) to safely access currentGroup.key when updating currentGroupKey
  • Wrapped the component rendering section with a null check to prevent rendering errors when no group is available

@ArtyomSavchenko ArtyomSavchenko merged commit 4b10759 into develop Nov 25, 2025
21 checks passed
ArtyomSavchenko added a commit that referenced this pull request Nov 25, 2025
Signed-off-by: Artem Savchenko <armisav@gmail.com>
@BykhovDenis BykhovDenis deleted the fix-billing-settings branch November 28, 2025 11:52
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.

3 participants