fix: community directory
This commit is contained in:
23
README.md
23
README.md
@ -650,6 +650,29 @@ Some module don't need any route to be active, set `route` to `false` so.
|
||||
|
||||
Components can get the route of a module with `window.hubl.getRoute('componentName')`.
|
||||
|
||||
#### Change the default route
|
||||
|
||||
By default, Hubl will take a Dashboard as a default route.
|
||||
|
||||
You can enforce a component to be the default one by adding `defaultRoute` to its parameters.
|
||||
|
||||
Eg.:
|
||||
|
||||
```json
|
||||
{
|
||||
"type": "profileDirectory",
|
||||
"endpoints": {
|
||||
"get": "http://server.url/users/",
|
||||
"skills": "http://server.url/skills/",
|
||||
"uploads": "http://server.url/upload/"
|
||||
},
|
||||
"route": "directory",
|
||||
"defaultRoute": true
|
||||
}
|
||||
```
|
||||
|
||||
If there is more than one component with this parameter, it'll be ignored.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Circles or Projects are missing the @user list
|
||||
|
Reference in New Issue
Block a user