Procházet zdrojové kódy

Merge pull request #4932 from weseek/fix/83801-getting-undefined-when-jumping-to-a-search-page-from-among-search-suggestions

Fix/83801 getting undefined when jumping to a search page from among search suggestions
Yuki Takei před 4 roky
rodič
revize
32c5287fc5
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      packages/app/src/components/SearchForm.jsx

+ 1 - 1
packages/app/src/components/SearchForm.jsx

@@ -40,7 +40,7 @@ class SearchForm extends React.Component {
 
     // navigate to page
     if (page != null) {
-      window.location = page.path;
+      window.location = page.pageData._id;
     }
   }