fix: lint

This commit is contained in:
kolaente 2024-02-27 16:38:20 +01:00
parent 997fb6bc54
commit 1275dfc260
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
3 changed files with 7 additions and 4 deletions

View File

@ -1,5 +1,8 @@
<template>
<BaseButton class="dropdown-item" :class="{'is-disabled': disabled}">
<BaseButton
class="dropdown-item"
:class="{'is-disabled': disabled}"
>
<span
v-if="icon"
class="icon is-small"

View File

@ -67,10 +67,10 @@
{{ $t('menu.duplicate') }}
</DropdownItem>
<DropdownItem
v-tooltip="isDefaultProject ? $t('menu.cantArchiveIsDefault') : ''"
:to="{ name: 'project.settings.archive', params: { projectId: project.id } }"
icon="archive"
:disabled="isDefaultProject"
v-tooltip="isDefaultProject ? $t('menu.cantArchiveIsDefault') : ''"
>
{{ $t('menu.archive') }}
</DropdownItem>
@ -97,11 +97,11 @@
{{ $t('menu.createProject') }}
</DropdownItem>
<DropdownItem
v-tooltip="isDefaultProject ? $t('menu.cantDeleteIsDefault') : ''"
:to="{ name: 'project.settings.delete', params: { projectId: project.id } }"
icon="trash-alt"
class="has-text-danger"
:disabled="isDefaultProject"
v-tooltip="isDefaultProject ? $t('menu.cantDeleteIsDefault') : ''"
>
{{ $t('menu.delete') }}
</DropdownItem>

View File

@ -17,9 +17,9 @@
bar-end="endDate"
:grid="true"
:width="ganttChartWidth"
:color-scheme="GANTT_COLOR_SCHEME"
@dragendBar="updateGanttTask"
@dblclickBar="openTask"
:color-scheme="GANTT_COLOR_SCHEME"
>
<template #timeunit="{value, date}">
<div