fix broken reminders for custom roles (closes #44)

This commit is contained in:
Steffen 2020-07-03 10:21:12 +02:00
parent 036f61fed0
commit bc07255366
No known key found for this signature in database
GPG Key ID: 764D74E98267DFC6
1 changed files with 2 additions and 3 deletions

View File

@ -154,9 +154,8 @@
<span
class="icon"
v-bind:style="{
backgroundImage: `url(${require('../assets/icons/' +
reminder.role +
'.png')})`
backgroundImage: `url(${reminder.image ||
require('../assets/icons/' + reminder.role + '.png')})`
}"
></span>
<span class="text">{{ reminder.name }}</span>