mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36: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);
|
||||
}
|
||||
if (!data.users.length) {
|
||||
blockListEl.find('[component="blocks/search/match"]').remove();
|
||||
noUsersEl.removeClass('hidden');
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user