File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
web/src/views/classification Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ import SearchDetailDialog, {
7575} from "@/components/overlay/detail/SearchDetailDialog" ;
7676import { SearchResult } from "@/types/search" ;
7777import { HiSparkles } from "react-icons/hi" ;
78+ import { capitalizeFirstLetter } from "@/utils/stringUtil" ;
7879
7980type ModelTrainingViewProps = {
8081 model : CustomClassificationModelConfig ;
@@ -88,7 +89,7 @@ export default function ModelTrainingView({ model }: ModelTrainingViewProps) {
8889 // title
8990
9091 useEffect ( ( ) => {
91- document . title = `${ model . name . toUpperCase ( ) } - ${ t ( "documentTitle" ) } ` ;
92+ document . title = `${ capitalizeFirstLetter ( model . name ) } - ${ t ( "documentTitle" ) } ` ;
9293 } , [ model . name , t ] ) ;
9394
9495 // model state
You can’t perform that action at this time.
0 commit comments