ui: gate community wizard capabilities
This commit is contained in:
@@ -1556,16 +1556,12 @@ impl AdminService {
|
||||
}
|
||||
|
||||
pub async fn list_protocol_capabilities(&self) -> Vec<ProtocolCapabilityView> {
|
||||
[
|
||||
Protocol::Rest,
|
||||
Protocol::Graphql,
|
||||
Protocol::Grpc,
|
||||
Protocol::Websocket,
|
||||
Protocol::Soap,
|
||||
]
|
||||
.into_iter()
|
||||
.map(protocol_capability_view)
|
||||
.collect()
|
||||
self.get_capabilities()
|
||||
.await
|
||||
.supported_protocols
|
||||
.into_iter()
|
||||
.map(protocol_capability_view)
|
||||
.collect()
|
||||
}
|
||||
|
||||
pub async fn get_capabilities(&self) -> EditionCapabilities {
|
||||
|
||||
Reference in New Issue
Block a user