Skip to content

User page tabs with no sidebar have a JS error in the developer console #1366

@trichoplax

Description

@trichoplax

Describe the bug
Those tabs on the user profile page that do not include the right hand side bar show the following JavaScript error message in the browser developer console:

Uncaught (in promise) TypeError: prefs.global is undefined

To Reproduce
Steps to reproduce the behavior:

  1. Go to your own user profile page (click on your avatar at the top right of any page).
  2. Click on any tab that does not have a sidebar on the right hand side.
  3. See error message in the developer console.

Expected behavior
The behaviour to a user appears to be working, but presumably is not applying the user's preferences as they cannot be accessed. It is expected that the user's preferences would be applied to all tabs.

Metadata

Metadata

Assignees

Labels

area: frontendChanges to front-end codecomplexity: unassessedNeeds further developer investigation before complexity/feasibility can be determined.priority: medium

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions