-
-
Notifications
You must be signed in to change notification settings - Fork 176
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
Bug/edit mode doble link #1101
Bug/edit mode doble link #1101
Conversation
@@ -1614,7 +1614,12 @@ export class BoardContainer extends Component { | |||
onClose={this.handleTileEditorCancel} | |||
onEditSubmit={this.handleEditTileEditorSubmit} | |||
onAddSubmit={this.handleAddTileEditorSubmit} | |||
boards={this.props.boards} | |||
boards={this.props.boards.filter( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this Looks incorrect to me. The boards included in the default cboard are not owned by the user who logged in. You should not filter boards.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you dont filter, the select will show all the boards in boards state. That contains the boards created before the user log in and the boards created after the user log in. The filter takes only the user boards.
In the image you can see two home boards. You can check this issue, its a similar problem #1102
@@ -414,12 +412,19 @@ export class TileEditor extends Component { | |||
this.updateTileProperty('image', image); | |||
}; | |||
|
|||
linkedBoard = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to me, the linked board looks an internal state of the component.
close #1088 and close #1070