fix(front): use property deletedAt instead of deleted

This commit is contained in:
Maël Gangloff
2025-09-18 17:10:14 +02:00
parent a8569f6f32
commit ddc4f3c9ad
3 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
import type {Domain} from '../api'
export const sortDomainEntities = (domain: Domain) => domain.entities
.filter(e => e.deletedAt !== undefined)
.filter(e => e.deletedAt === undefined)
.sort((e1, e2) => {
const p = (r: string[]) => r.includes('registrant')
? 5