Skip to content
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

Cannot read 'color' #677

Open
Xahrie opened this issue May 27, 2024 · 2 comments
Open

Cannot read 'color' #677

Xahrie opened this issue May 27, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Xahrie
Copy link

Xahrie commented May 27, 2024

Im getting the following exception/error inside the console. This is the url of the page:
http://localhost:3003/pages/op-module-league-champselect-ui/champselect.html?apikey=...

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'color')
at A (index.less:54:1)
at index.less:54:1
at s (index.less:54:1)
at Generator. (index.less:54:1)
at Generator.next (index.less:54:1)
at r (asyncToGenerator.js:3:20)
at u (asyncToGenerator.js:25:9)

Full Stacktrace:
A @ index.less:54
(anonymous) @ index.less:54
s @ index.less:54
(anonymous) @ index.less:54
(anonymous) @ index.less:54
r @ asyncToGenerator.js:3
u @ asyncToGenerator.js:25
Promise.then (async)
r @ asyncToGenerator.js:13
u @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
_onSocketOpen @ frontend-lib.ts:26

This results the plugin.js to not work anymore (meaning no buttons are working, etc).

@Xahrie Xahrie added the question Further information is requested label May 27, 2024
Copy link

github-actions bot commented Jun 3, 2024

Marking issue as stale after 7 days of no activity.

@github-actions github-actions bot added the stale label Jun 3, 2024
@sdomi4 sdomi4 added bug Something isn't working and removed question Further information is requested stale labels Jun 3, 2024
@Himyu
Copy link
Contributor

Himyu commented Jul 21, 2024

This occurs apparently when there are no teams set
Have to look into a default solution for colors if there are no teams.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants