fix: [object subtype dashboard] fix None first/last seen

otp
terrtia 2024-09-12 20:11:16 +02:00
parent 3569498d5a
commit d5b048d4b4
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 2 additions and 2 deletions

View File

@ -182,8 +182,8 @@
</td> </td>
<td><a target="_blank" href="{{ meta['link'] }}">{{ meta['id'] }}</a></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>{% if meta['first_seen'] %}{{meta['first_seen'][0:4]}}-{{meta['first_seen'][4:6]}}-{{meta['first_seen'][6:8]}}{% endif %}</td>
<td>{{meta['last_seen'][0:4]}}-{{meta['last_seen'][4:6]}}-{{meta['last_seen'][6:8]}}</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>{{ meta['nb_seen'] }}</td>
<td id="sparklines_{{ meta['subtype'] + loop.index0|string }}" style="text-align:center;"></td> <td id="sparklines_{{ meta['subtype'] + loop.index0|string }}" style="text-align:center;"></td>
</tr> </tr>