Skip to content

Commit 3feda53

Browse files
committed
Fix bug
1 parent 1f5279c commit 3feda53

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

services/context/repo.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,10 @@ func RepoAssignment(ctx *Context) context.CancelFunc {
607607
}
608608
}
609609

610-
isHomeOrSettings := ctx.Link == ctx.Repo.RepoLink || ctx.Link == ctx.Repo.RepoLink+"/settings" || strings.HasPrefix(ctx.Link, ctx.Repo.RepoLink+"/settings/")
610+
isHomeOrSettings := ctx.Link == ctx.Repo.RepoLink ||
611+
ctx.Link == ctx.Repo.RepoLink+"/settings" ||
612+
strings.HasPrefix(ctx.Link, ctx.Repo.RepoLink+"/settings/") ||
613+
ctx.Link == ctx.Repo.RepoLink+"/-/migrate/status"
611614

612615
// Disable everything when the repo is being created
613616
if ctx.Repo.Repository.IsBeingCreated() || ctx.Repo.Repository.IsBroken() {

0 commit comments

Comments
 (0)