mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 17:25:50 +03:00
Update src/components/views/settings/tabs/user/SecurityUserSettingsTab.js
Co-Authored-By: Michael Telatynski <7t3chguy@googlemail.com>
This commit is contained in:
parent
5163232081
commit
2471b3c100
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ export default class SecurityUserSettingsTab extends React.Component {
|
|||
|
||||
_onUserUnignored = async (userId) => {
|
||||
const {ignoredUserIds, waitingUnignored} = this.state;
|
||||
const currentlyIgnoredUserIds = ignoredUserIds.filter(e=> !waitingUnignored.includes(e));
|
||||
const currentlyIgnoredUserIds = ignoredUserIds.filter(e => !waitingUnignored.includes(e));
|
||||
|
||||
const index = currentlyIgnoredUserIds.indexOf(userId);
|
||||
if (index !== -1) {
|
||||
|
|
Loading…
Reference in a new issue