mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-04 04:30:06 +00:00
fix: prevent null dereferences (#106)
This commit is contained in:
@@ -133,7 +133,7 @@ export default function CronPage() {
|
||||
const s = row.original
|
||||
return (
|
||||
<div className="max-w-16 whitespace-normal break-words">
|
||||
<span>{s.servers.join(",")}</span>
|
||||
<span>{(s.servers || []).join(",")}</span>
|
||||
</div>
|
||||
)
|
||||
},
|
||||
|
||||
@@ -82,7 +82,7 @@ export default function NotificationGroupPage() {
|
||||
const s = row.original
|
||||
return (
|
||||
<div className="max-w-48 whitespace-normal break-words">
|
||||
<span>{s.notifications.join(",")}</span>
|
||||
<span>{(s.notifications || []).join(",")}</span>
|
||||
</div>
|
||||
)
|
||||
},
|
||||
|
||||
@@ -82,7 +82,7 @@ export default function ServerGroupPage() {
|
||||
const s = row.original
|
||||
return (
|
||||
<div className="max-w-48 whitespace-normal break-words">
|
||||
<span>{s.servers.join(",")}</span>
|
||||
<span>{(s.servers || []).join(",")}</span>
|
||||
</div>
|
||||
)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user