Fix linting

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv)
2021-04-26 13:04:17 +02:00
committed by Julius Härtl
parent 4ff505934b
commit a1abf91b40
6 changed files with 13 additions and 13 deletions

View File

@@ -79,7 +79,7 @@ export default {
parameters.after.name = moment(dateTime).format('L LTS')
}
Object.keys(parameters).map(function(key, index) {
Object.keys(parameters).forEach(function(key, index) {
const { type } = parameters[key]
switch (type) {
case 'highlight':

View File

@@ -28,11 +28,11 @@
:members="members"
name-key="uid"
:tab-select="true">
<template v-slot:item="s">
<template #item="s">
<Avatar class="atwho-li--avatar" :user="s.item.uid" :size="24" />
<span class="atwho-li--name" v-text="s.item.displayname" />
</template>
<template v-slot:embeddedItem="scope">
<template #embeddedItem="scope">
<span>
<UserBubble v-if="scope.current.uid"
:data-mention-id="scope.current.uid"

View File

@@ -72,7 +72,7 @@ export default {
props: {
users: {
type: Array,
default: () => { return {} },
default: () => ([]),
},
},
data() {
@@ -132,7 +132,7 @@ export default {
margin-top: 5px;
position: relative;
flex-grow: 1;
/deep/ .popovermenu {
::v-deep .popovermenu {
margin-right: -4px;
img {
padding: 0;
@@ -152,7 +152,7 @@ export default {
padding-right: $avatar-offset;
flex-direction: row-reverse;
.avatardiv,
/deep/ .avatardiv {
::v-deep .avatardiv {
width: 36px;
height: 36px;
box-sizing: content-box !important;
@@ -167,7 +167,7 @@ export default {
cursor: pointer;
}
}
&:hover div:nth-child(n+2) /deep/ .avatardiv {
&:hover div:nth-child(n+2) ::v-deep .avatardiv {
margin-right: 1px;
}
}

View File

@@ -149,6 +149,9 @@ export default {
directives: {
ClickOutside,
},
inject: [
'boardApi',
],
props: {
board: {
type: Object,
@@ -303,9 +306,6 @@ export default {
this.updateDueSetting = null
},
},
inject: [
'boardApi',
],
}
</script>