diff --git a/app/assets/javascripts/discourse/app/templates/components/sidebar/section.hbs b/app/assets/javascripts/discourse/app/templates/components/sidebar/section.hbs index dd74d6ade4a..0cbbc30c759 100644 --- a/app/assets/javascripts/discourse/app/templates/components/sidebar/section.hbs +++ b/app/assets/javascripts/discourse/app/templates/components/sidebar/section.hbs @@ -51,8 +51,7 @@ @options={{hash icon=@headerActionsIcon placementStrategy="absolute"}} @content={{@headerActions}} @onChange={{action "handleMultipleHeaderActions"}} - @class="edit-channels-dropdown" - /> + @class="sidebar-section-header-dropdown" /> {{/if}} diff --git a/app/assets/javascripts/discourse/tests/acceptance/sidebar-plugin-api-test.js b/app/assets/javascripts/discourse/tests/acceptance/sidebar-plugin-api-test.js index aab97c2907c..029561c5fff 100644 --- a/app/assets/javascripts/discourse/tests/acceptance/sidebar-plugin-api-test.js +++ b/app/assets/javascripts/discourse/tests/acceptance/sidebar-plugin-api-test.js @@ -189,17 +189,17 @@ acceptance("Sidebar - section API", function (needs) { "displays header with correct text" ); await click( - ".sidebar-section-test-chat-channels .edit-channels-dropdown summary" + ".sidebar-section-test-chat-channels .sidebar-section-header-dropdown summary" ); assert.strictEqual( queryAll( - ".sidebar-section-test-chat-channels .edit-channels-dropdown .select-kit-collection li" + ".sidebar-section-test-chat-channels .sidebar-section-header-dropdown .select-kit-collection li" ).length, 2, "displays two actions" ); const actions = queryAll( - ".sidebar-section-test-chat-channels .edit-channels-dropdown .select-kit-collection li" + ".sidebar-section-test-chat-channels .sidebar-section-header-dropdown .select-kit-collection li" ); assert.strictEqual( actions[0].textContent.trim(),