added extension point for default branch + renamed bindrepositorysetting

This commit is contained in:
Florian Scholdei
2019-02-06 09:51:31 +01:00
parent 7baea043c1
commit 1c0f417f9a
4 changed files with 31 additions and 9 deletions

View File

@@ -72,7 +72,7 @@ class ConfigurationBinder {
binder.bind("repository.route", RepoRoute, repoPredicate);
}
bindRepositorySub(to: string, labelI18nKey: string, linkName: string, RepositoryComponent: any) {
bindRepositorySetting(to: string, labelI18nKey: string, linkName: string, RepositoryComponent: any) {
// create predicate based on the link name of the current repository route
// if the linkname is not available, the navigation link and the route are not bound to the extension points