You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$500] Web - When command is run, error message appears (Onyx is not defined) #30125
Pre-requisite: user must be logged in and have some chats
Open JS console
Go to Application tab
In "personalDetailsList" key, look for the object that represents personal details of a contact you already have a chat with
Copy the ID
In console, run the following command: "Onyx.merge('personalDetailsList', {: {accountID: , avatar: "https://d2k5nsl2zxldvw.cloudfront.net/images/avatars/default-avatar_24.png",
displayName: "", firstName: "", lastName: "", login: "", phoneNumber: "", validated: true}})", replacing the ID you copied before
Expected Result:
The name of the contact should be replaced by "Hidden" in LHN
Actual Result:
An error message is displayed on console
Uncaught ReferenceError: Onyx is not defined at :1:1
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
changed the title [-] Web - When command is run, error message appears (Onyx is not defined)[/-][+][$500] Web - When command is run, error message appears (Onyx is not defined)[/+]on Oct 21, 2023
Activity
[-] Web - When command is run, error message appears (Onyx is not defined)[/-][+][$500] Web - When command is run, error message appears (Onyx is not defined)[/+]melvin-bot commentedon Oct 21, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01b32cf134f5949260
melvin-bot commentedon Oct 21, 2023
Triggered auto assignment to @johncschuster (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Oct 21, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)melvin-bot commentedon Oct 21, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ntdiary (
External)abdel-h66 commentedon Oct 21, 2023
I think it's normal that Onyx is not exposed in a staging env. works fine on local .
mountiny commentedon Oct 22, 2023
Yeah closing you cant do this in staging or prod