minor: Use page_params.is_realm_admin.

We don't need to get this off the sub.
This commit is contained in:
Steve Howell 2021-04-04 14:43:28 +00:00 committed by Tim Abbott
parent 4380fe4eaf
commit 9c9d74fd6d

View File

@ -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,
});