invites: Do not show streams if user cannot subscribe others.

We do not show the streams list in invite modal if the user
does not have permission to subscribe others to stream and
show a notice mentioning it.
This commit is contained in:
Sahil Batra
2023-04-23 21:25:22 +05:30
committed by Tim Abbott
parent a6be1d1018
commit 016917679e
4 changed files with 15 additions and 4 deletions

View File

@@ -825,7 +825,8 @@
.upgrade-tip,
.upgrade-or-sponsorship-tip,
.tip {
.tip,
.invite-stream-notice {
color: inherit;
background-color: hsl(46deg 28% 38% / 27%);
border: 1px solid hsl(49deg 38% 46%);