mirror of
https://github.com/zulip/zulip.git
synced 2026-07-09 21:21:47 +08:00
minor: Use page_params.is_realm_admin.
We don't need to get this off the sub.
This commit is contained in:
parent
4380fe4eaf
commit
9c9d74fd6d
@ -245,7 +245,7 @@ function build_topic_popover(opts) {
|
||||
topic_name,
|
||||
can_mute_topic,
|
||||
can_unmute_topic,
|
||||
is_realm_admin: sub.is_realm_admin,
|
||||
is_realm_admin: page_params.is_realm_admin,
|
||||
color: sub.color,
|
||||
has_starred_messages,
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user