From 1f1edd043235b8415d2030dae034bf4bf81cee7c Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Mon, 12 Oct 2020 11:45:29 +0200 Subject: [PATCH] Added decipients check --- httpdocs/js/pages/recipients-endpoints.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpdocs/js/pages/recipients-endpoints.js b/httpdocs/js/pages/recipients-endpoints.js index 3c4ffd7e63..aef66b1ce9 100644 --- a/httpdocs/js/pages/recipients-endpoints.js +++ b/httpdocs/js/pages/recipients-endpoints.js @@ -196,7 +196,7 @@ $(document).ready(function () { if (!recipient.endpoint_conf) return; - const isBuiltin = recipient.endpoint_conf.builtin || false; + const isBuiltin = (recipient.endpoint_conf && recipient.endpoint_conf.builtin) || false; if (isBuiltin) return; return DataTableUtils.createActionButtons([