mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
This has two long-term goals:
- avoid circular dependencies between
stream_ui_updates and stream_edit
- facilitate code reuse for adding subscribers
to a new stream (i.e. using same widget for
when you edit subscribers)
10 lines
216 B
JavaScript
10 lines
216 B
JavaScript
import $ from "jquery";
|
|
|
|
export function get_edit_container(sub) {
|
|
return $(
|
|
`#subscription_overlay .subscription_settings[data-stream-id='${CSS.escape(
|
|
sub.stream_id,
|
|
)}']`,
|
|
);
|
|
}
|