@@ -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; | |||
} |
@@ -7,7 +7,7 @@ | |||
<div class="ten wide column"> | |||
{{template "user/dashboard/feeds" .}} | |||
</div> | |||
<div id="dashboard-repo-search" class="six wide column"> | |||
<div id="app" class="six wide column"> | |||
<repo-search :search-limit="searchLimit" :suburl="suburl" :uid="uid"><i class="fa fa-spinner fa-spin"></i></repo-search> | |||
</div> | |||
</div> |