Fix linting
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
committed by
Julius Härtl
parent
4ff505934b
commit
a1abf91b40
@@ -79,7 +79,7 @@ export default {
|
|||||||
parameters.after.name = moment(dateTime).format('L LTS')
|
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]
|
const { type } = parameters[key]
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'highlight':
|
case 'highlight':
|
||||||
|
|||||||
@@ -28,11 +28,11 @@
|
|||||||
:members="members"
|
:members="members"
|
||||||
name-key="uid"
|
name-key="uid"
|
||||||
:tab-select="true">
|
:tab-select="true">
|
||||||
<template v-slot:item="s">
|
<template #item="s">
|
||||||
<Avatar class="atwho-li--avatar" :user="s.item.uid" :size="24" />
|
<Avatar class="atwho-li--avatar" :user="s.item.uid" :size="24" />
|
||||||
<span class="atwho-li--name" v-text="s.item.displayname" />
|
<span class="atwho-li--name" v-text="s.item.displayname" />
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:embeddedItem="scope">
|
<template #embeddedItem="scope">
|
||||||
<span>
|
<span>
|
||||||
<UserBubble v-if="scope.current.uid"
|
<UserBubble v-if="scope.current.uid"
|
||||||
:data-mention-id="scope.current.uid"
|
:data-mention-id="scope.current.uid"
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ export default {
|
|||||||
props: {
|
props: {
|
||||||
users: {
|
users: {
|
||||||
type: Array,
|
type: Array,
|
||||||
default: () => { return {} },
|
default: () => ([]),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
@@ -132,7 +132,7 @@ export default {
|
|||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
position: relative;
|
position: relative;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
/deep/ .popovermenu {
|
::v-deep .popovermenu {
|
||||||
margin-right: -4px;
|
margin-right: -4px;
|
||||||
img {
|
img {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@@ -152,7 +152,7 @@ export default {
|
|||||||
padding-right: $avatar-offset;
|
padding-right: $avatar-offset;
|
||||||
flex-direction: row-reverse;
|
flex-direction: row-reverse;
|
||||||
.avatardiv,
|
.avatardiv,
|
||||||
/deep/ .avatardiv {
|
::v-deep .avatardiv {
|
||||||
width: 36px;
|
width: 36px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
box-sizing: content-box !important;
|
box-sizing: content-box !important;
|
||||||
@@ -167,7 +167,7 @@ export default {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&:hover div:nth-child(n+2) /deep/ .avatardiv {
|
&:hover div:nth-child(n+2) ::v-deep .avatardiv {
|
||||||
margin-right: 1px;
|
margin-right: 1px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -149,6 +149,9 @@ export default {
|
|||||||
directives: {
|
directives: {
|
||||||
ClickOutside,
|
ClickOutside,
|
||||||
},
|
},
|
||||||
|
inject: [
|
||||||
|
'boardApi',
|
||||||
|
],
|
||||||
props: {
|
props: {
|
||||||
board: {
|
board: {
|
||||||
type: Object,
|
type: Object,
|
||||||
@@ -303,9 +306,6 @@ export default {
|
|||||||
this.updateDueSetting = null
|
this.updateDueSetting = null
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
inject: [
|
|
||||||
'boardApi',
|
|
||||||
],
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/*
|
/**
|
||||||
* @copyright Copyright (c) 2018 Julius Härtl <jus@bitgrid.net>
|
* @copyright Copyright (c) 2018 Julius Härtl <jus@bitgrid.net>
|
||||||
*
|
*
|
||||||
* @author Julius Härtl <jus@bitgrid.net>
|
* @author Julius Härtl <jus@bitgrid.net>
|
||||||
@@ -84,7 +84,7 @@ export default {
|
|||||||
},
|
},
|
||||||
colorIsValid(hex) {
|
colorIsValid(hex) {
|
||||||
|
|
||||||
const re = new RegExp('[A-Fa-f0-9]{6}')
|
const re = /[A-Fa-f0-9]{6}/
|
||||||
if (re.test(hex)) {
|
if (re.test(hex)) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
:loading="loading"
|
:loading="loading"
|
||||||
@hide="() => {}"
|
@hide="() => {}"
|
||||||
@markDone="() => {}">
|
@markDone="() => {}">
|
||||||
<template v-slot:default="{ item }">
|
<template #default="{ item }">
|
||||||
<a :key="item.id"
|
<a :key="item.id"
|
||||||
:href="cardLink(item)"
|
:href="cardLink(item)"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
|||||||
Reference in New Issue
Block a user