Skip to content

FIX: JS error when silencing and unsilencing the user #33851

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 25, 2025
Merged

Conversation

lis2
Copy link
Contributor

@lis2 lis2 commented Jul 25, 2025

In this PR silenced became a computed property - #33537

When we silence the user, one of the serialised attributes is silenced. When we tried to assign it with setProperties, Ember was throwing an error. This was fixed by explicitly defining the arguments.

Screen.Recording.2025-07-25.at.1.19.41.pm.mov

lis2 added 2 commits July 25, 2025 13:24
In this PR `silenced` becomes a computed property - #33537

When we silence the user, one of the serialised attributes is `silenced`. When we tried to assign it with `setProperties`, Ember was throwing an error. This was fixed by explicitly defining the arguments.
Copy link
Contributor

@Drenmi Drenmi left a comment

Choose a reason for hiding this comment

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

LGTM!

@lis2 lis2 merged commit f63fe5a into main Jul 25, 2025
27 of 28 checks passed
@lis2 lis2 deleted the silence-unsilence-bug branch July 25, 2025 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants