Skip to content

Commit

Permalink
fix errors from qa before release
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbedouret committed Jul 23, 2020
1 parent 77c100c commit d59fb21
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/Board/Board.container.js
Original file line number Diff line number Diff line change
Expand Up @@ -574,13 +574,16 @@ export class BoardContainer extends Component {
};

handleDeleteClick = () => {
const { intl, deleteTiles, showNotification, board } = this.props;
const { intl, deleteTiles, showNotification, board, userData } = this.props;
deleteTiles(this.state.selectedTileIds, board.id);
this.setState({
selectedTileIds: []
});
showNotification(intl.formatMessage(messages.tilesDeleted));

// Loggedin user?
if ('name' in userData && 'email' in userData) {
this.handleApiUpdates(null, this.state.selectedTileIds, null);
}
this.toggleSelectMode();
};

Expand Down
1 change: 1 addition & 0 deletions src/translations/src/cboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
"cboard.components.SettingsButton.settings": "Settings",
"cboard.components.ColorSelect.color": "Color",
"cboard.components.ColorSelect.clearSelection": "Clear selection",
"cboard.components.ColorSelect.colorScheme": "Color Scheme",
"cboard.components.FullScreenButton.fullscreen": "Full screen",
"cboard.components.FullScreenButton.exitFullscreen": "Exit full screen",
"cboard.components.SymbolSearch.searchSymbolLibrary": "Search symbol library",
Expand Down

0 comments on commit d59fb21

Please sign in to comment.