mirror of
https://github.com/block-core/blockcore-notes.git
synced 2024-09-29 06:20:42 +00:00
Filter out blocked in search
This commit is contained in:
parent
30fb72ac24
commit
58f100fc4e
@ -113,6 +113,11 @@ export class ProfileService {
|
||||
// this.table.filter((x) => x.name.toLowerCase().indexOf(searchText) > -1).toArray();
|
||||
return this.table
|
||||
.filter((profile) => {
|
||||
if (profile.status == 3) {
|
||||
// Filter out blocked results.
|
||||
return false;
|
||||
}
|
||||
|
||||
let index = profile.name?.toLocaleLowerCase().indexOf(searchText);
|
||||
|
||||
if (index > -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user