use hateoas style resource for ui plugins

This commit is contained in:
Sebastian Sdorra
2018-08-27 12:59:26 +02:00
parent 4f775fe7ca
commit 56b629fa9d
15 changed files with 414 additions and 42 deletions

View File

@@ -34,6 +34,7 @@ class PluginLoader extends React.Component<Props, State> {
.get("ui/plugins")
.then(response => response.text())
.then(JSON.parse)
.then(pluginCollection => pluginCollection._embedded.plugins)
.then(this.loadPlugins)
.then(() => {
this.setState({