mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-22 22:27:17 +00:00
fix: [object subtype dashboard] fix None first/last seen
This commit is contained in:
parent
3569498d5a
commit
d5b048d4b4
1 changed files with 2 additions and 2 deletions
|
@ -182,8 +182,8 @@
|
|||
</td>
|
||||
|
||||
<td><a target="_blank" href="{{ meta['link'] }}">{{ meta['id'] }}</a></td>
|
||||
<td>{{meta['first_seen'][0:4]}}-{{meta['first_seen'][4:6]}}-{{meta['first_seen'][6:8]}}</td>
|
||||
<td>{{meta['last_seen'][0:4]}}-{{meta['last_seen'][4:6]}}-{{meta['last_seen'][6:8]}}</td>
|
||||
<td>{% if meta['first_seen'] %}{{meta['first_seen'][0:4]}}-{{meta['first_seen'][4:6]}}-{{meta['first_seen'][6:8]}}{% endif %}</td>
|
||||
<td>{% if meta['last_seen'] %}{{meta['last_seen'][0:4]}}-{{meta['last_seen'][4:6]}}-{{meta['last_seen'][6:8]}}{% endif %}</td>
|
||||
<td>{{ meta['nb_seen'] }}</td>
|
||||
<td id="sparklines_{{ meta['subtype'] + loop.index0|string }}" style="text-align:center;"></td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in a new issue