From ba69251ec6afbe069820bbee609a0acc10c82279 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20Nielsen=20Tik=C3=A6r?= Date: Sun, 1 Sep 2024 23:20:43 +0200 Subject: [PATCH] Update nextdns extension (#14297) - fix - Initial commit --- extensions/nextdns/CHANGELOG.md | 5 +++++ extensions/nextdns/src/logs.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/extensions/nextdns/CHANGELOG.md b/extensions/nextdns/CHANGELOG.md index 762551d29d9..84ef235b65d 100644 --- a/extensions/nextdns/CHANGELOG.md +++ b/extensions/nextdns/CHANGELOG.md @@ -1,8 +1,13 @@ # NextDNS Changelog +## [Fix] - 2024-09-01 + +- Fixed a bug in the model name in `Search Logs` that caused a crash + ## [Added NextDNS] - 2024-09-01 Initial version code with: + - Allowlist management - Denylist management - View logs (Simplified) diff --git a/extensions/nextdns/src/logs.tsx b/extensions/nextdns/src/logs.tsx index 9ce58f851a9..bbe45d671df 100644 --- a/extensions/nextdns/src/logs.tsx +++ b/extensions/nextdns/src/logs.tsx @@ -15,7 +15,7 @@ export default function Logs() { title={log.domain} icon={getIconById(log.domain)} accessories={[ - { tag: log.device.name, tooltip: log.device.model }, + { tag: log.device ? log.device.name : "Unknown", tooltip: log.device ? log.device.model : "No model" }, { date: date, tooltip: date.toLocaleDateString() }, ]} actions={