mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
fix(front): use property deletedAt instead of deleted
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import type {Domain} from '../api'
|
||||
|
||||
export const sortDomainEntities = (domain: Domain) => domain.entities
|
||||
.filter(e => !e.deleted)
|
||||
.filter(e => e.deletedAt !== undefined)
|
||||
.sort((e1, e2) => {
|
||||
const p = (r: string[]) => r.includes('registrant')
|
||||
? 5
|
||||
|
||||
Reference in New Issue
Block a user