settings_streams: Replace row_dict Dict with IntDict.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg 2020-01-31 19:51:38 -08:00 committed by Tim Abbott
parent 90ebaa86e9
commit 1189747d4c
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
const render_admin_default_streams_list = require("../templates/admin_default_streams_list.hbs"); const render_admin_default_streams_list = require("../templates/admin_default_streams_list.hbs");
const Dict = require('./dict').Dict; const IntDict = require('./int_dict').IntDict;
const meta = { const meta = {
loaded: false, loaded: false,
@ -21,7 +21,7 @@ exports.maybe_disable_widgets = function () {
exports.build_default_stream_table = function (streams_data) { exports.build_default_stream_table = function (streams_data) {
const self = {}; const self = {};
self.row_dict = new Dict(); self.row_dict = new IntDict();
const table = $("#admin_default_streams_table").expectOne(); const table = $("#admin_default_streams_table").expectOne();