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

[Bug]: Division by 0 error #207

Closed
1 task done
bobcate opened this issue Dec 6, 2023 · 1 comment
Closed
1 task done

[Bug]: Division by 0 error #207

bobcate opened this issue Dec 6, 2023 · 1 comment

Comments

@bobcate
Copy link

bobcate commented Dec 6, 2023

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

Setting the "extra_options_cols" variable to 0 results in a bunch of errors and the UI doesn't launch.

Steps to reproduce the problem

  1. Launch the UI
  2. Open Settings > User Interface
  3. Set the "Options in main UI - number of columns" variable to 0 (zero)
  4. Apply settings > Reload the UI
  5. See the errors in the console

What should have happened?

User should not be allowed to set that variable to 0, or less than 1 for good measure.

What browsers do you use to access the UI ?

Opera GX

Additional information

I was able to launch the UI after this happened by opening the "config.json" file and setting the value of "extra_options_cols" to 1.

@anapnoe
Copy link
Owner

anapnoe commented Jan 30, 2024

The slider min value is set to 1

@anapnoe anapnoe closed this as completed Jan 30, 2024
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

No branches or pull requests

2 participants