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