Fix undefined js error at general settings page
What does this MR do and why?
In sass environment, admin setting - general setting has js error, this error caused some options rendered with Vue to fail to render. This mr is used to fix this error.
At app/views/admin/application_settings/_account_and_limit.html.haml:59 add div and app/assets/javascripts/pages/admin/application_settings/account_and_limits.js select it. But this id will only be rendered in SASS environment(app/views/admin/application_settings/_account_and_limit.html.haml:50), so there is an undefined error.
/cc @JeremyWuuuuu @mtan-gitlab
Describe in detail what your merge request does and why.
Screenshots or screen recordings
| before | after |
|---|---|
![]() |
![]() |
How to set up and validate locally
- Switch to SASS instance (
export GITLAB_SIMULATE_SAAS=1) - Go to instance admin settings - general setting
- Observed
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.

