fix execution list UI
This commit is contained in:
parent
3ce8565513
commit
d9745b3477
2 changed files with 6 additions and 5 deletions
|
@ -1030,6 +1030,7 @@ App::get('/v1/functions/:functionId/executions')
|
||||||
$results = array_map(function ($execution) {
|
$results = array_map(function ($execution) {
|
||||||
$execution->setAttribute('stdout', '');
|
$execution->setAttribute('stdout', '');
|
||||||
$execution->setAttribute('stderr', '');
|
$execution->setAttribute('stderr', '');
|
||||||
|
return $execution;
|
||||||
}, $results);
|
}, $results);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -392,10 +392,10 @@ sort($patterns);
|
||||||
<tr>
|
<tr>
|
||||||
<th width="30"></th>
|
<th width="30"></th>
|
||||||
<th width="160">Created</th>
|
<th width="160">Created</th>
|
||||||
<th width="150">Status</th>
|
<th width="100">Status</th>
|
||||||
<th width="120">Trigger</th>
|
<th width="80">Trigger</th>
|
||||||
<th width="80">Runtime</th>
|
<th width="60">Runtime</th>
|
||||||
<th></th>
|
<th width=""></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody data-ls-loop="project-function-executions.executions" data-ls-as="execution">
|
<tbody data-ls-loop="project-function-executions.executions" data-ls-as="execution">
|
||||||
|
@ -421,7 +421,7 @@ sort($patterns);
|
||||||
<span data-ls-if="{{execution.status}} === 'waiting' || {{execution.status}} === 'processing'">-</span>
|
<span data-ls-if="{{execution.status}} === 'waiting' || {{execution.status}} === 'processing'">-</span>
|
||||||
</td>
|
</td>
|
||||||
<td data-title="">
|
<td data-title="">
|
||||||
<div data-ls-if="{{execution.status}} === 'completed' || {{execution.status}} === 'failed'" data-title="">
|
<div data-ls-if="{{execution.status}} === 'completed' || {{execution.status}} === 'failed'" data-title="" style="display: flex;">
|
||||||
<button class="desktops-only pull-end link margin-start text-danger" data-ls-ui-trigger="execution-stderr-{{execution.$id}}">Stderr</button>
|
<button class="desktops-only pull-end link margin-start text-danger" data-ls-ui-trigger="execution-stderr-{{execution.$id}}">Stderr</button>
|
||||||
<button class="desktops-only pull-end link margin-start" data-ls-ui-trigger="execution-stdout-{{execution.$id}}">Stdout</button>
|
<button class="desktops-only pull-end link margin-start" data-ls-ui-trigger="execution-stdout-{{execution.$id}}">Stdout</button>
|
||||||
<button class="desktops-only pull-end link margin-start" data-ls-ui-trigger="execution-response-{{execution.$id}}">Response</button>
|
<button class="desktops-only pull-end link margin-start" data-ls-ui-trigger="execution-response-{{execution.$id}}">Response</button>
|
||||||
|
|
Loading…
Reference in a new issue