From 40706c4c722a0cf11299e50999b56fdf50b79bcf Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 1 Jun 2026 14:57:27 +0800 Subject: [PATCH] hide customer monitoring from non-customer users --- wwwroot/index.ui | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wwwroot/index.ui b/wwwroot/index.ui index 8af5622..eab27a8 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -494,8 +494,9 @@ } } ] - }, - { + {% endif %} + {% if 'owner.*' not in roles %} + ,{ "widgettype": "VBox", "options": { "css": "card", @@ -571,6 +572,7 @@ } ] } + {% endif %} {% if 'owner.*' in roles %} ,{ "widgettype": "VBox",