From 0261dbccee8329ae4ff9bcb626cb8119161b4dd8 Mon Sep 17 00:00:00 2001 From: wangyuting2 <851424971@qq.com> Date: Wed, 19 Apr 2023 16:26:06 +0800 Subject: [PATCH] * Show builtin chart. --- module/chart/model.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/chart/model.php b/module/chart/model.php index b193129840..9a6379f845 100644 --- a/module/chart/model.php +++ b/module/chart/model.php @@ -570,6 +570,8 @@ class chartModel extends model */ public static function isClickable($chart, $action) { + global $config; + if($chart->builtin and in_array($chart->id, $config->screen->builtinChart)) return false; return true; }