From 66175ccf05cbbeee1c30a4eae7261f8caba182d4 Mon Sep 17 00:00:00 2001 From: wangyuting Date: Tue, 16 Apr 2024 13:49:00 +0800 Subject: [PATCH] * Adjust assigntomeblock default items. --- module/block/ui/assigntomeblock.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/block/ui/assigntomeblock.html.php b/module/block/ui/assigntomeblock.html.php index 2df9947a8b..92bdef8632 100644 --- a/module/block/ui/assigntomeblock.html.php +++ b/module/block/ui/assigntomeblock.html.php @@ -22,7 +22,7 @@ $moreMenus = array(); foreach($hasViewPriv as $type => $bool) { $data = $type == 'story' ? $stories : ${"{$type}s"}; - if(empty($data)) unset($hasViewPriv[$type]); + if($type != 'todo' && empty($data)) unset($hasViewPriv[$type]); } $count = count($hasViewPriv);