mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 23:45:44 +01:00
use hateoas style resource for ui plugins
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user