mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: add options column on Domain table
This commit is contained in:
3
assets/utils/functions/isDomainLocked.ts
Normal file
3
assets/utils/functions/isDomainLocked.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export const isDomainLocked = (status: string[], type: 'client' | 'server'): boolean =>
|
||||
(status.includes(type + ' update prohibited') && status.includes(type + ' delete prohibited')) ||
|
||||
status.includes(type + ' transfer prohibited')
|
||||
Reference in New Issue
Block a user