feat(views): lint
This commit is contained in:
parent
d7554d9e70
commit
6f366d4907
@ -28,7 +28,7 @@
|
|||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<slot/>
|
<slot />
|
||||||
</BaseButton>
|
</BaseButton>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -7,8 +7,14 @@
|
|||||||
{{ getProjectTitle(currentProject) }}
|
{{ getProjectTitle(currentProject) }}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<div class="switch-view-container d-print-none" :class="{'is-justify-content-flex-end': views.length === 1}">
|
<div
|
||||||
<div class="switch-view" v-if="views.length > 1">
|
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
|
<BaseButton
|
||||||
v-for="v in views"
|
v-for="v in views"
|
||||||
:key="v.id"
|
:key="v.id"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<ProjectWrapper
|
<ProjectWrapper
|
||||||
class="project-gantt"
|
class="project-gantt"
|
||||||
:project-id="filters.projectId"
|
:project-id="filters.projectId"
|
||||||
:viewId
|
:view-id
|
||||||
>
|
>
|
||||||
<template #default>
|
<template #default>
|
||||||
<card :has-content="false">
|
<card :has-content="false">
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
<x-button
|
<x-button
|
||||||
icon="th"
|
icon="th"
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
@click.prevent.stop="toggle()"
|
|
||||||
class="mr-2"
|
class="mr-2"
|
||||||
|
@click.prevent.stop="toggle()"
|
||||||
>
|
>
|
||||||
{{ $t('project.table.columns') }}
|
{{ $t('project.table.columns') }}
|
||||||
</x-button>
|
</x-button>
|
||||||
@ -67,7 +67,7 @@
|
|||||||
</card>
|
</card>
|
||||||
</template>
|
</template>
|
||||||
</Popup>
|
</Popup>
|
||||||
<FilterPopup v-model="params"/>
|
<FilterPopup v-model="params" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -206,7 +206,7 @@
|
|||||||
/>
|
/>
|
||||||
</td>
|
</td>
|
||||||
<td v-if="activeColumns.labels">
|
<td v-if="activeColumns.labels">
|
||||||
<Labels :labels="t.labels"/>
|
<Labels :labels="t.labels" />
|
||||||
</td>
|
</td>
|
||||||
<td v-if="activeColumns.assignees">
|
<td v-if="activeColumns.assignees">
|
||||||
<AssigneeList
|
<AssigneeList
|
||||||
|
@ -170,7 +170,7 @@ function validateTitle() {
|
|||||||
class="is-danger"
|
class="is-danger"
|
||||||
@click.prevent="() => view.bucketConfiguration.splice(index, 1)"
|
@click.prevent="() => view.bucketConfiguration.splice(index, 1)"
|
||||||
>
|
>
|
||||||
<icon icon="trash-alt"/>
|
<icon icon="trash-alt" />
|
||||||
</button>
|
</button>
|
||||||
<div class="filter-bucket-form">
|
<div class="filter-bucket-form">
|
||||||
<div class="field">
|
<div class="field">
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
@dragendBar="updateGanttTask"
|
@dragendBar="updateGanttTask"
|
||||||
@dblclickBar="openTask"
|
@dblclickBar="openTask"
|
||||||
>
|
>
|
||||||
<template #timeunit="{value, date}">
|
<template #timeunit="{date}">
|
||||||
<div
|
<div
|
||||||
class="timeunit-wrapper"
|
class="timeunit-wrapper"
|
||||||
:class="{'today': dateIsToday(date)}"
|
:class="{'today': dateIsToday(date)}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user