left sidebar: Fix exception on opening all/starred popovers.

This code was added in 2d414fa897, after
the `window.exports` variable was removed from
`stream_popovers.js`, while converting it to an ES6 module
in c71af35461. This resulted
in opening the starred messages or all messages
popovers throw `Error: exports in undefined.`.
This commit is contained in:
Abhijeet Prasad Bodas
2021-03-20 13:29:20 +05:30
committed by Tim Abbott
parent 7aa89289a3
commit 1cc6f6158e

View File

@@ -269,7 +269,7 @@ function build_all_messages_popover(e) {
}
popovers.hide_all();
exports.show_streamlist_sidebar();
show_streamlist_sidebar();
const content = render_all_messages_sidebar_actions();
@@ -295,7 +295,7 @@ function build_starred_messages_popover(e) {
}
popovers.hide_all();
exports.show_streamlist_sidebar();
show_streamlist_sidebar();
const show_unstar_all_button = starred_messages.get_count() > 0;
const content = render_starred_messages_sidebar_actions({