mirror of
https://github.com/corda/corda.git
synced 2025-06-10 19:31:46 +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 {
|
body {
|
||||||
h2 { +"Installed CorDapps" }
|
h2 { +"Installed CorDapps" }
|
||||||
|
if (plugins.isEmpty()) {
|
||||||
|
p { +"No installed custom CorDapps." }
|
||||||
|
} else {
|
||||||
plugins.forEach { plugin ->
|
plugins.forEach { plugin ->
|
||||||
h3 { +plugin::class.java.name }
|
h3 { +plugin::class.java.name }
|
||||||
if (plugin.requiredFlows.isNotEmpty()) {
|
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)
|
data class Endpoint(val method: String, val uri: String, val text: String)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user