visuddhinanda 2 лет назад
Родитель
Сommit
9cb2f55e59
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      dashboard/src/pages/library/article/show.tsx

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

@@ -49,6 +49,7 @@ import { modeChange } from "../../../reducers/article-mode";
 import SearchButton from "../../../components/general/SearchButton";
 import SearchButton from "../../../components/general/SearchButton";
 import ToStudio from "../../../components/auth/ToStudio";
 import ToStudio from "../../../components/auth/ToStudio";
 import { currentUser as _currentUser } from "../../../reducers/current-user";
 import { currentUser as _currentUser } from "../../../reducers/current-user";
+import LoginAlert from "../../../components/auth/LoginAlert";
 
 
 /**
 /**
  * type:
  * type:
@@ -320,6 +321,7 @@ const Widget = () => {
             key="Article"
             key="Article"
             style={{ marginLeft: "auto", marginRight: "auto", width: 1100 }}
             style={{ marginLeft: "auto", marginRight: "auto", width: 1100 }}
           >
           >
+            {loadedArticleData ? <LoginAlert /> : undefined}
             <Article
             <Article
               active={true}
               active={true}
               type={type as ArticleType}
               type={type as ArticleType}