fix: compiler warnings
see: - https://v3.vuejs.org/guide/migration/key-attribute.html - https://v3.vuejs.org/guide/migration/v-bind.html - https://v3.vuejs.org/guide/migration/v-on-native-modifier-removed.html
This commit is contained in:
parent
3c89147ee2
commit
2b20f328cb
5 changed files with 13 additions and 13 deletions
|
@ -49,8 +49,8 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<aside class="menu namespaces-lists loader-container" :class="{'is-loading': loading}">
|
<aside class="menu namespaces-lists loader-container" :class="{'is-loading': loading}">
|
||||||
<template v-for="(n, nk) in namespaces">
|
<template v-for="(n, nk) in namespaces" :key="n.id" >
|
||||||
<div :key="n.id" class="namespace-title" :class="{'has-menu': n.id > 0}">
|
<div class="namespace-title" :class="{'has-menu': n.id > 0}">
|
||||||
<span
|
<span
|
||||||
@click="toggleLists(n.id)"
|
@click="toggleLists(n.id)"
|
||||||
class="menu-label"
|
class="menu-label"
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
>
|
>
|
||||||
<div v-if="item.title" class="notification-title">{{ item.title }}</div>
|
<div v-if="item.title" class="notification-title">{{ item.title }}</div>
|
||||||
<div class="notification-content">
|
<div class="notification-content">
|
||||||
<template v-for="(t, k) in item.text">{{ t }}<br :key="k"/></template>
|
<template v-for="(t, k) in item.text" :key="k">{{ t }}<br /></template>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="buttons is-right"
|
class="buttons is-right"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<span class="shortcuts">
|
<span class="shortcuts">
|
||||||
<template v-for="(k, i) in keys">
|
<template v-for="(k, i) in keys" :key="i">
|
||||||
<kbd :key="i">{{ k }}</kbd>
|
<kbd>{{ k }}</kbd>
|
||||||
<span v-if="i < keys.length - 1" :key="`plus${i}`">+</span>
|
<span v-if="i < keys.length - 1">+</span>
|
||||||
</template>
|
</template>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="dates">
|
<div class="dates">
|
||||||
<template v-for="(y, yk) in days">
|
<template v-for="(y, yk) in days" :key="yk + 'year'">
|
||||||
<div :key="yk + 'year'" class="months">
|
<div class="months">
|
||||||
<div
|
<div
|
||||||
:key="mk + 'month'"
|
:key="mk + 'month'"
|
||||||
class="month"
|
class="month"
|
||||||
|
|
|
@ -265,7 +265,7 @@
|
||||||
/>
|
/>
|
||||||
<x-button
|
<x-button
|
||||||
@click="setFieldActive('assignees')"
|
@click="setFieldActive('assignees')"
|
||||||
@shortkey.native="setFieldActive('assignees')"
|
@shortkey="setFieldActive('assignees')"
|
||||||
type="secondary"
|
type="secondary"
|
||||||
v-shortkey="['a']">
|
v-shortkey="['a']">
|
||||||
<span class="icon is-small"><icon icon="users"/></span>
|
<span class="icon is-small"><icon icon="users"/></span>
|
||||||
|
@ -273,7 +273,7 @@
|
||||||
</x-button>
|
</x-button>
|
||||||
<x-button
|
<x-button
|
||||||
@click="setFieldActive('labels')"
|
@click="setFieldActive('labels')"
|
||||||
@shortkey.native="setFieldActive('labels')"
|
@shortkey="setFieldActive('labels')"
|
||||||
type="secondary"
|
type="secondary"
|
||||||
v-shortkey="['l']"
|
v-shortkey="['l']"
|
||||||
icon="tags"
|
icon="tags"
|
||||||
|
@ -289,7 +289,7 @@
|
||||||
</x-button>
|
</x-button>
|
||||||
<x-button
|
<x-button
|
||||||
@click="setFieldActive('dueDate')"
|
@click="setFieldActive('dueDate')"
|
||||||
@shortkey.native="setFieldActive('dueDate')"
|
@shortkey="setFieldActive('dueDate')"
|
||||||
type="secondary"
|
type="secondary"
|
||||||
v-shortkey="['d']"
|
v-shortkey="['d']"
|
||||||
icon="calendar"
|
icon="calendar"
|
||||||
|
@ -333,7 +333,7 @@
|
||||||
</x-button>
|
</x-button>
|
||||||
<x-button
|
<x-button
|
||||||
@click="setFieldActive('attachments')"
|
@click="setFieldActive('attachments')"
|
||||||
@shortkey.native="setFieldActive('attachments')"
|
@shortkey="setFieldActive('attachments')"
|
||||||
type="secondary"
|
type="secondary"
|
||||||
v-shortkey="['f']"
|
v-shortkey="['f']"
|
||||||
icon="paperclip"
|
icon="paperclip"
|
||||||
|
@ -342,7 +342,7 @@
|
||||||
</x-button>
|
</x-button>
|
||||||
<x-button
|
<x-button
|
||||||
@click="setFieldActive('relatedTasks')"
|
@click="setFieldActive('relatedTasks')"
|
||||||
@shortkey.native="setFieldActive('relatedTasks')"
|
@shortkey="setFieldActive('relatedTasks')"
|
||||||
type="secondary"
|
type="secondary"
|
||||||
v-shortkey="['r']"
|
v-shortkey="['r']"
|
||||||
icon="tasks"
|
icon="tasks"
|
||||||
|
|
Loading…
Reference in a new issue