fix in web view for loading of config

This commit is contained in:
InsanusMokrassar 2021-03-14 21:46:41 +06:00
parent 6d2ffb8a6e
commit dd9e71c9a2

View File

@ -21,7 +21,7 @@ class RepositoriesView(rootElement: HTMLElement) : MutableListView<MavenPublishi
override fun HTMLElement.addContentBeforeRemoveButton(value: MavenPublishingRepository) { override fun HTMLElement.addContentBeforeRemoveButton(value: MavenPublishingRepository) {
createTextField("Repository name", "This name will be used to identify repository in grade").value = value.name createTextField("Repository name", "This name will be used to identify repository in grade").value = value.name
createTextField("Repository URL", "For example: https://repo.maven.apache.org/maven2/").value = value.name createTextField("Repository URL", "For example: https://repo.maven.apache.org/maven2/").value = value.url
} }
override fun HTMLElement.updateElement(from: MavenPublishingRepository, to: MavenPublishingRepository) { override fun HTMLElement.updateElement(from: MavenPublishingRepository, to: MavenPublishingRepository) {