Last events were not shown when viewing a repo of non-default namespace.

This commit is contained in:
Roman Vynar
2018-06-12 12:27:29 +03:00
parent 4db9ceb0a6
commit 16fd6d944f
3 changed files with 7 additions and 2 deletions

View File

@@ -196,7 +196,7 @@ func (a *apiClient) viewTags(c echo.Context) error {
data.Set("repo", repo)
data.Set("tags", tags)
data.Set("deleteAllowed", deleteAllowed)
data.Set("events", a.eventListener.GetEvents(repo))
data.Set("events", a.eventListener.GetEvents(repoPath))
return c.Render(http.StatusOK, "tags.html", data)
}