mirror of
https://github.com/corda/corda.git
synced 2025-02-07 11:30:22 +00:00
Addressed review comments.
This commit is contained in:
parent
c0f108fa20
commit
040766c95f
@ -23,6 +23,9 @@ class CorDappInfoServlet(val plugins: List<CordaPluginRegistry>, val rpc: CordaR
|
||||
}
|
||||
body {
|
||||
h2 { +"Installed CorDapps" }
|
||||
if (plugins.isEmpty()) {
|
||||
p { +"No installed custom CorDapps." }
|
||||
} else {
|
||||
plugins.forEach { plugin ->
|
||||
h3 { +plugin::class.java.name }
|
||||
if (plugin.requiredFlows.isNotEmpty()) {
|
||||
@ -61,6 +64,7 @@ class CorDappInfoServlet(val plugins: List<CordaPluginRegistry>, val rpc: CordaR
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
data class Endpoint(val method: String, val uri: String, val text: String)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user