mirror of https://github.com/zulip/zulip.git
f8913dc321
Now if a default stream gets deleted, we just redraw the table. We always have a small number of default streams, and the way that we were removing rows without the actual consent of `list_render` was really janky (and just a vestige of pre-list-render code that never got fully ported). This also makes us consistent with how we handle added streams (i.e. just call `update_default_streams_table`). ASIDE: Ideally we will update `list_render` at some point to have an API for adding and removing elements. It does allow you now to call `data()` to reset its data, but for now we just build a new `list_render` object every time. |
||
---|---|---|
.. | ||
assets | ||
audio | ||
generated | ||
html | ||
images | ||
js | ||
shared | ||
styles | ||
templates | ||
third | ||
.eslintrc.json | ||
.gitignore | ||
favicon.ico |