* [ui] show single starter guide directly.

This commit is contained in:
sunhao
2024-09-04 17:31:41 +08:00
committed by 王于听
parent f7c1ca17c3
commit 3aefa1cc18
3 changed files with 3 additions and 50 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ $buildTutorialTabPane = function($type) use ($groupedGuides, $lang, $currentType
simpleList
(
setData('type', $type),
setClass('tutorial-guide-list'),
setClass('tutorial-guide-list', ($type == 'starter' && is_array($guides) && count($guides) === 1) ? 'is-single-guide' : ''),
set::items($guides),
set::onRenderItem($buildGuideItem)
)