mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-03 22:30:31 +08:00
fix: render documentation URLs as hyperlinks in model tooltips (#17224)
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LinkifyText } from '@/components/linkify-text';
|
||||
import { ModelTreeSelect, ModelTypeMap } from '@/components/model-tree-select';
|
||||
import {
|
||||
Tooltip,
|
||||
@@ -56,7 +57,9 @@ function ModelFieldItem({
|
||||
{label}
|
||||
{tooltip && (
|
||||
<Tooltip>
|
||||
<TooltipContent>{tooltip}</TooltipContent>
|
||||
<TooltipContent>
|
||||
<LinkifyText>{tooltip}</LinkifyText>
|
||||
</TooltipContent>
|
||||
<TooltipTrigger>
|
||||
<CircleQuestionMark
|
||||
size={12}
|
||||
|
||||
Reference in New Issue
Block a user