FIX: Render creation date instead of run date if query was never run
This commit is contained in:
parent
1fc73a211a
commit
6a57f6536d
|
@ -167,7 +167,17 @@
|
||||||
</a>
|
</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</td>
|
</td>
|
||||||
<td class="query-created-at"><medium>{{bound-date query.last_run_at}}</medium></td>
|
<td class="query-created-at">
|
||||||
|
{{#if query.last_run_at}}
|
||||||
|
<medium>
|
||||||
|
{{bound-date query.last_run_at}}
|
||||||
|
</medium>
|
||||||
|
{{else}}
|
||||||
|
<medium>
|
||||||
|
{{bound-date query.created_at}}
|
||||||
|
</medium>
|
||||||
|
{{/if}}
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in New Issue