Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] make the cross icon on user selection at channel creation page work #9176

Merged
merged 3 commits into from
Dec 20, 2017

Conversation

vitor-nagao
Copy link
Contributor

@RocketChat/core

I found that the cross icon in the users selection thing wasn't working. So I fixed it for the project I'm working using RocketChat.

So I'm sending this PR in case you guys find it handy ; )

Also I'm sending a screenshot to make it clear of which part I'm talking about.

cross_icon_screenshot

@@ -146,6 +146,10 @@ Template.createChannel.events({
const {username} = Blaze.getData(target);
t.selectedUsers.set(t.selectedUsers.get().filter(user => user.username !== username));
},
'click .rc-icon'(e, t) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can be more specific here and use .rc-tags__tag-icon. There's a lot of rc-icon elements on this template.

@rodrigok rodrigok added this to the 0.60.0 milestone Dec 19, 2017
@rodrigok rodrigok merged commit 9d10223 into RocketChat:develop Dec 20, 2017
rodrigok added a commit that referenced this pull request Dec 20, 2017
[FIX] make the cross icon on user selection at channel creation page work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants