mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
recent_topics: Add filter button to show muted topics.
We don't show muted streams/topics by defualt. Only when user turns on muted filter.
This commit is contained in:
@@ -346,6 +346,13 @@ exports.initialize = function () {
|
||||
muting_ui.mute(stream_id, topic);
|
||||
});
|
||||
|
||||
$('body').on('click', '.on_hover_topic_unmute', function (e) {
|
||||
e.stopPropagation();
|
||||
const stream_id = parseInt($(e.currentTarget).attr('data-stream-id'), 10);
|
||||
const topic = $(e.currentTarget).attr('data-topic-name');
|
||||
muting_ui.unmute(stream_id, topic);
|
||||
});
|
||||
|
||||
// RECENT TOPICS
|
||||
|
||||
$('body').on('click', '.on_hover_topic_read', function (e) {
|
||||
|
||||
Reference in New Issue
Block a user