-
Notifications
You must be signed in to change notification settings - Fork 849
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
New server modal warnings #442
Conversation
Thanks @jnugh! Can you help submit it against the |
ff027cf
to
568253e
Compare
Changed the target and rebased the PR. |
Thanks @jnugh for the quick fixes!
PS: I found a couple of other JavaScript errors when clicking around, not sure if these are related?
|
568253e
to
29b176b
Compare
1 und 4 have been there for some time already.
I have actually no idea how to wrap the button correctly in the navigation without breaking everything. @yuya-oc do you have an idea? |
1 3 To fix this, I feel that function handleSelect(key) {
if (key === this.props.teams.length) {
this.props.onAddServer();
} else {
this.props.onSelect(key);
}
}
<Nav onSelect={handleSelect}> Or using function handleSelect(key) {
if (key < this.props.teams.length) {
this.props.onSelect(key);
}
}
<Nav onSelect={handleSelect}> 4 |
Thanks! I can create tickets for 1 and 4, no need to worry about those for this PR |
@jnugh not sure if 3 is something you have time to work on? |
…tton into a NavItem
… button (and failed)
359e3aa
to
eb76688
Compare
I simply added a key to the |
Looks good! Created a separate issue for the console error that shows after adding a server #468 |
Before submitting, please confirm you've
npm run lint:js
for proper code formattingSummary
Fixes multiple warnings that were introduced by the new team modal PR.
Fixes #440
Test Cases
Check if I changed the '+' Button in the TabBar (I had to wrap it correctly and had to make some CSS changes).