Move _log to markdown block;Try more random variants
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7fa6866a1d
commit
c2357484e4
@ -3,7 +3,7 @@ const fastify = require('fastify')({ logger: true })
|
||||
|
||||
// Declare a route
|
||||
fastify.get('/', async (request, reply) => {
|
||||
return [
|
||||
return { data: [
|
||||
{
|
||||
component: 'VI_IT_VIRTUALIZATION',
|
||||
version: '2.4.0',
|
||||
@ -14,7 +14,7 @@ fastify.get('/', async (request, reply) => {
|
||||
version: '1.3.0',
|
||||
os: 'Ubuntu 18.04 LTS'
|
||||
}
|
||||
]
|
||||
] }
|
||||
})
|
||||
|
||||
// Run the server!
|
||||
|
@ -19,10 +19,7 @@ events:
|
||||
type: setState
|
||||
params:
|
||||
all_components:
|
||||
_request: all_components.data
|
||||
|
||||
_log:
|
||||
_request: retrieve_components
|
||||
_request: all_components
|
||||
|
||||
layout:
|
||||
contentJustify: center
|
||||
@ -81,10 +78,18 @@ areas:
|
||||
|
||||
|
||||
- id: rest_data
|
||||
type: Box
|
||||
type: Markdown
|
||||
properties:
|
||||
content:
|
||||
_state: all_components
|
||||
_string.concat:
|
||||
- |
|
||||
```yaml
|
||||
- _yaml.stringify:
|
||||
- _log:
|
||||
_request: all_components
|
||||
- |
|
||||
```
|
||||
|
||||
- id: bottomrow
|
||||
type: Box
|
||||
layout:
|
||||
|
Reference in New Issue
Block a user