mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 19:02:46 +08:00
FIX: wrong collapsible parameter in sidebar API (#22729)
Bug introduced here https://github.com/discourse/discourse/pull/22534/files#diff-a53b5ae4b732d8bd06143ca91d1b5e96ab8cc1d6283f223d53bd8dae0f536d3eR9 https://github.com/discourse/discourse/pull/22534/files#diff-b145895f327646d995f2231c305745bf0c61108087bfc001b598d9fcfdbd828fR15 We are passing @collapsable and not @collapsableSections
This commit is contained in:
parent
b65b452330
commit
a5c0b87d25
|
@ -6,7 +6,7 @@
|
|||
@headerActionsIcon={{customSection.actionsIcon}}
|
||||
@headerActions={{customSection.actions}}
|
||||
@willDestroy={{customSection.willDestroy}}
|
||||
@collapsable={{@collapsableSections}}
|
||||
@collapsable={{@collapsable}}
|
||||
@displaySection={{customSection.displaySection}}
|
||||
>
|
||||
|
||||
|
|
|
@ -251,6 +251,12 @@ acceptance("Sidebar - Plugin API", function (needs) {
|
|||
"displays header with correct text"
|
||||
);
|
||||
|
||||
assert
|
||||
.dom(
|
||||
".sidebar-section[data-section-name='test-chat-channels'] .sidebar-section-header-caret"
|
||||
)
|
||||
.exists();
|
||||
|
||||
await click(
|
||||
".sidebar-section[data-section-name='test-chat-channels'] .sidebar-section-header-dropdown summary"
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user