mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
updated off-topic and town square intro to remove the add members button
This commit is contained in:
parent
d65ce690b2
commit
d6e7003f47
@ -279,9 +279,6 @@ describe('components/post_view/ChannelIntroMessages', () => {
|
||||
);
|
||||
screen.getByText('This is the start of off-topic, a channel for non-work-related conversations.');
|
||||
expect(screen.getByText('This is the start of off-topic, a channel for non-work-related conversations.')).toHaveClass('channel-intro__text');
|
||||
|
||||
// stats.total_users_count is not specified, loading icon should be in the dom
|
||||
screen.getByTitle('Loading Icon');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@ -358,9 +358,8 @@ function createOffTopicIntroMessage(
|
||||
actionButtons = (
|
||||
<div className='channel-intro__actions'>
|
||||
{createFavoriteButton(isFavorite, toggleFavorite)}
|
||||
{channelInviteButton}
|
||||
{setHeaderButton}
|
||||
{!isMobileView && createNotificationPreferencesButton(channel, currentUser)}
|
||||
{createNotificationPreferencesButton(channel, currentUser)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@ -475,9 +474,8 @@ function createDefaultIntroMessage(
|
||||
actionButtons = (
|
||||
<div className='channel-intro__actions'>
|
||||
{createFavoriteButton(isFavorite, toggleFavorite)}
|
||||
{teamInviteLink}
|
||||
{setHeaderButton}
|
||||
{!isMobileView && createNotificationPreferencesButton(channel, currentUser)}
|
||||
{createNotificationPreferencesButton(channel, currentUser)}
|
||||
{teamIsGroupConstrained && pluginButtons}
|
||||
</div>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user