mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
streams: Replace Dict with IntDict in stream_data.
There's another Dict that we'll convert to a Set in a subsequent commit.
This commit is contained in:
@@ -282,7 +282,7 @@ exports.show_new_stream_modal = function () {
|
||||
|
||||
$("#stream-checkboxes label.checkbox").on('change', function (e) {
|
||||
const elem = $(this);
|
||||
const stream_id = elem.attr('data-stream-id');
|
||||
const stream_id = parseInt(elem.attr('data-stream-id'), 10);
|
||||
const checked = elem.find('input').prop('checked');
|
||||
const subscriber_ids = stream_data.get_sub_by_id(stream_id).subscribers;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user