This commit is contained in:
kolaente 2021-05-19 19:44:55 +02:00
parent 6a0427b216
commit 1604f5b4aa
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 3 deletions

View File

@ -36,15 +36,15 @@
end: t.endDate.toString(),
label: t.title,
ganttBarConfig: {
color: colorIsDark(t.getHexColor()) ? 'white' : 'black',
color: colorIsDark(t.getHexColor()) ? 'black' : 'white',
backgroundColor: t.getHexColor(),
handles: true,
}
}]"
:highlight-on-hover="true"
>
<template v-slot:label>
<span>{{ t.title }}</span>
<template #bar-label="{bar}">
<span>{{bar.label}}</span>
</template>
</g-gantt-row>
</g-gantt-chart>