From 2cee3985ab32b4bdd3a5e114bf3e4353d762253c Mon Sep 17 00:00:00 2001 From: Paul Balluff Date: Wed, 13 Jul 2022 10:49:50 +0200 Subject: [PATCH] #154 prevent user from adding channels --- flaskinventory/templates/helpers/_tomselect.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flaskinventory/templates/helpers/_tomselect.html b/flaskinventory/templates/helpers/_tomselect.html index 89e17e7b..b46fb5c0 100644 --- a/flaskinventory/templates/helpers/_tomselect.html +++ b/flaskinventory/templates/helpers/_tomselect.html @@ -322,7 +322,7 @@ {% if 'channels' in fields %} - new TomSelect('#channels', {create: true, plugins: ['remove_button']}) + new TomSelect('#channels', {create: false, plugins: ['remove_button']}) {% endif %}