2
0
Эх сурвалжийг харах

Merge pull request #1411 from visuddhinanda/agile

add title
visuddhinanda 2 жил өмнө
parent
commit
94995d3d50

+ 1 - 0
dashboard/src/pages/library/article/show.tsx

@@ -296,6 +296,7 @@ const Widget = () => {
               }}
               }}
               onLoad={(article: IArticleDataResponse) => {
               onLoad={(article: IArticleDataResponse) => {
                 setLoadedArticleData(article);
                 setLoadedArticleData(article);
+                document.title = article.title.slice(0, 128);
               }}
               }}
               onAnthologySelect={(id: string) => {
               onAnthologySelect={(id: string) => {
                 let output: any = { anthology: id };
                 let output: any = { anthology: id };