diff --git a/public/js/index.js b/public/js/index.js index 3152b2a5a4..169563a4ec 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -1568,7 +1568,7 @@ $(document).ready(function () { initWebhook(); initAdmin(); initCodeView(); - initDashboardSearch(); + initVueApp(); initTeamSettings(); // Repo clone url. @@ -1758,8 +1758,8 @@ function initVueComponents(){ }) } -function initDashboardSearch() { - var el = document.getElementById('dashboard-repo-search'); +function initVueApp() { + var el = document.getElementById('app'); if (!el) { return; } diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl index 01619ff4ee..9135d117b7 100644 --- a/templates/user/dashboard/dashboard.tmpl +++ b/templates/user/dashboard/dashboard.tmpl @@ -7,7 +7,7 @@
{{template "user/dashboard/feeds" .}}
-