mirror of
https://github.com/DCsunset/taskwarrior-webui.git
synced 2025-08-25 00:06:43 +02:00
fix(frontend): fix type style
This commit is contained in:
parent
3bb7816c1e
commit
f116a7e79d
1 changed files with 5 additions and 10 deletions
|
@ -103,7 +103,7 @@
|
||||||
</v-row>
|
</v-row>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template v-slot:item.description="{ item }">
|
<template v-slot:item.type="{ item }">
|
||||||
<v-tooltip
|
<v-tooltip
|
||||||
top
|
top
|
||||||
v-if="item.mask"
|
v-if="item.mask"
|
||||||
|
@ -113,19 +113,11 @@
|
||||||
v-bind="attrs"
|
v-bind="attrs"
|
||||||
v-on="on"
|
v-on="on"
|
||||||
>
|
>
|
||||||
<v-badge
|
<v-badge style="margin-bottom: 1px" inline content="R" />
|
||||||
inline
|
|
||||||
content="R"
|
|
||||||
>
|
|
||||||
{{ item.description }}
|
|
||||||
</v-badge>
|
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<span>Recurring template</span>
|
<span>Recurring template</span>
|
||||||
</v-tooltip>
|
</v-tooltip>
|
||||||
<template v-else>
|
|
||||||
{{ item.description }}
|
|
||||||
</template>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template v-if="status === 'waiting'" v-slot:item.wait="{ item }">
|
<template v-if="status === 'waiting'" v-slot:item.wait="{ item }">
|
||||||
|
@ -225,6 +217,9 @@ export default defineComponent({
|
||||||
recurring: 'mdi-restart'
|
recurring: 'mdi-restart'
|
||||||
};
|
};
|
||||||
const headers = computed(() => [
|
const headers = computed(() => [
|
||||||
|
...(status.value === 'deleted'
|
||||||
|
? [{ text: 'Type', value: 'type', width: '1px', sortable: false }]
|
||||||
|
: []),
|
||||||
{ text: 'Project', value: 'project' },
|
{ text: 'Project', value: 'project' },
|
||||||
{ text: 'Description', value: 'description' },
|
{ text: 'Description', value: 'description' },
|
||||||
{ text: 'Priority', value: 'priority' },
|
{ text: 'Priority', value: 'priority' },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue