mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: block search showing old matches
This commit is contained in:
@@ -33,6 +33,7 @@ define('forum/account/blocks', [
|
|||||||
return alerts.error(err);
|
return alerts.error(err);
|
||||||
}
|
}
|
||||||
if (!data.users.length) {
|
if (!data.users.length) {
|
||||||
|
blockListEl.find('[component="blocks/search/match"]').remove();
|
||||||
noUsersEl.removeClass('hidden');
|
noUsersEl.removeClass('hidden');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user