FIX: Experimental sidebar preferences link not shown for users (#17318)

Not writing any tests here because there is very little value to test
for an option that will eventually be removed
This commit is contained in:
Alan Guo Xiang Tan 2022-07-04 15:18:39 +08:00 committed by GitHub
parent e31002fc05
commit b42a9c3647
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,8 @@
{{i18n "user.preferences_nav.interface"}}
</LinkTo>
</li>
{{#if this.currentUser.experimental_sidebar_enabled}}
{{#if this.siteSettings.enable_experimental_sidebar}}
<li class="indent nav-sidebar">
{{#link-to "preferences.sidebar"}}
{{i18n "user.preferences_nav.sidebar"}}