From 202bec18d9bc72d0cd08ff1bbbb1fe9a3a4c6e80 Mon Sep 17 00:00:00 2001 From: sunhao Date: Thu, 20 Jul 2023 10:40:58 +0800 Subject: [PATCH] * zin: fix action item root class. --- lib/zin/wg/actionitem/v1.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zin/wg/actionitem/v1.php b/lib/zin/wg/actionitem/v1.php index c9b6954047..6750cd7457 100644 --- a/lib/zin/wg/actionitem/v1.php +++ b/lib/zin/wg/actionitem/v1.php @@ -131,7 +131,7 @@ class actionItem extends wg return h::create ( $outerTag, - setClass("$name-$type", $outerClass), + setClass(($type !== 'item' && $type !== 'divider') ? 'nav-item' : '', "$name-$type", $outerClass), set($outerProps), $this->buildItem() );