Fix [bot] users for metrics insights
This commit is contained in:
@@ -181,7 +181,7 @@
|
|||||||
<li v-for="{actor, type, repo, timestamp, ...event} of activity">
|
<li v-for="{actor, type, repo, timestamp, ...event} of activity">
|
||||||
<time :datetime="timestamp">{{ format("date", timestamp, {timeStyle:"short", dateStyle:"short"}) }}</time>
|
<time :datetime="timestamp">{{ format("date", timestamp, {timeStyle:"short", dateStyle:"short"}) }}</time>
|
||||||
<div class="actor" v-if="account.type === 'organization'">
|
<div class="actor" v-if="account.type === 'organization'">
|
||||||
<img :src="`https://github.com/${actor}.png`">
|
<img :src="`https://github.com/${/\[bot\]$/.test(actor) ? 'actions' : actor }.png`">
|
||||||
<a :href="`https://github.com/${actor}`">{{ actor }}</a>
|
<a :href="`https://github.com/${actor}`">{{ actor }}</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="event">
|
<div class="event">
|
||||||
|
|||||||
Reference in New Issue
Block a user