destructive menu action wrapped in an alert

This commit is contained in:
or-else
2019-09-27 16:55:19 +03:00
parent cda001e5c6
commit ef341cb94e
11 changed files with 265 additions and 150 deletions
+1
View File
@@ -1312,6 +1312,7 @@ class TinodeWeb extends React.Component {
params={this.state.contextMenuParams}
items={this.state.contextMenuItems}
hide={this.handleHideContextMenu}
onShowAlert={this.handleShowAlert}
onAction={this.handleContextMenuAction}
onTopicRemoved={(topicName) => {
if (topicName == this.state.topicSelected) {