forked from p85947160/gitea
Fix style of "In your repositories" when selected (#3699)
Signed-off-by: Alex Ward <alxwrd@googlemail.com>
This commit is contained in:
parent
43fc430c07
commit
4ebdcbc5df
|
@ -111,7 +111,7 @@ func Issues(ctx *context.Context) {
|
||||||
|
|
||||||
viewType := ctx.Query("type")
|
viewType := ctx.Query("type")
|
||||||
sortType := ctx.Query("sort")
|
sortType := ctx.Query("sort")
|
||||||
types := []string{"all", "assigned", "created_by", "mentioned"}
|
types := []string{"all", "your_repositories", "assigned", "created_by", "mentioned"}
|
||||||
if !com.IsSliceContainsStr(types, viewType) {
|
if !com.IsSliceContainsStr(types, viewType) {
|
||||||
viewType = "all"
|
viewType = "all"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue