A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix: preview mode icon toggle
shuai2a62dd214fd0
diff --git a/ui/src/components/QuestionList/index.tsx b/ui/src/components/QuestionList/index.tsxindex a3ffb948..7585c52a 100644--- a/ui/src/components/QuestionList/index.tsx+++ b/ui/src/components/QuestionList/index.tsx@@ -112,7 +112,7 @@ const QuestionList: FC<Props> = ({/><Dropdown align="end" onSelect={handleViewMode}><Dropdown.Toggle variant="outline-secondary" size="sm">- <Icon name="list" />+ <Icon name={viewType === 'card' ? 'view-stacked' : 'list'} /></Dropdown.Toggle><Dropdown.Menu>