1
0

feat(views): lint

This commit is contained in:
kolaente 2024-04-02 14:04:17 +02:00
parent d7554d9e70
commit 6f366d4907
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
6 changed files with 177 additions and 171 deletions

View File

@ -28,7 +28,7 @@
/>
</span>
</template>
<slot/>
<slot />
</BaseButton>
</template>

View File

@ -7,8 +7,14 @@
{{ getProjectTitle(currentProject) }}
</h1>
<div class="switch-view-container d-print-none" :class="{'is-justify-content-flex-end': views.length === 1}">
<div class="switch-view" v-if="views.length > 1">
<div
class="switch-view-container d-print-none"
:class="{'is-justify-content-flex-end': views.length === 1}"
>
<div
v-if="views.length > 1"
class="switch-view"
>
<BaseButton
v-for="v in views"
:key="v.id"

View File

@ -2,7 +2,7 @@
<ProjectWrapper
class="project-gantt"
:project-id="filters.projectId"
:viewId
:view-id
>
<template #default>
<card :has-content="false">

View File

@ -11,8 +11,8 @@
<x-button
icon="th"
variant="secondary"
@click.prevent.stop="toggle()"
class="mr-2"
@click.prevent.stop="toggle()"
>
{{ $t('project.table.columns') }}
</x-button>
@ -67,7 +67,7 @@
</card>
</template>
</Popup>
<FilterPopup v-model="params"/>
<FilterPopup v-model="params" />
</div>
</template>
@ -206,7 +206,7 @@
/>
</td>
<td v-if="activeColumns.labels">
<Labels :labels="t.labels"/>
<Labels :labels="t.labels" />
</td>
<td v-if="activeColumns.assignees">
<AssigneeList

View File

@ -170,7 +170,7 @@ function validateTitle() {
class="is-danger"
@click.prevent="() => view.bucketConfiguration.splice(index, 1)"
>
<icon icon="trash-alt"/>
<icon icon="trash-alt" />
</button>
<div class="filter-bucket-form">
<div class="field">

View File

@ -21,7 +21,7 @@
@dragendBar="updateGanttTask"
@dblclickBar="openTask"
>
<template #timeunit="{value, date}">
<template #timeunit="{date}">
<div
class="timeunit-wrapper"
:class="{'today': dateIsToday(date)}"