const {logHeaderApi} = require("../../../../../rpdata/api/LogHeader") module.exports = class { onCreate(input) { this.state = { logs: input.logs } } onMount() { logHeaderApi.list({limit: 0}).then(logs => { this.state.logs = logs }) } }