@@ -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"
|
||||
|
||||
@@ -149,6 +149,9 @@ export default {
|
||||
directives: {
|
||||
ClickOutside,
|
||||
},
|
||||
inject: [
|
||||
'boardApi',
|
||||
],
|
||||
props: {
|
||||
board: {
|
||||
type: Object,
|
||||
@@ -312,9 +315,6 @@ export default {
|
||||
this.updateDueSetting = null
|
||||
},
|
||||
},
|
||||
inject: [
|
||||
'boardApi',
|
||||
],
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
:loading="loading"
|
||||
@hide="() => {}"
|
||||
@markDone="() => {}">
|
||||
<template v-slot:default="{ item }">
|
||||
<template #default="{ item }">
|
||||
<a :key="item.id"
|
||||
:href="cardLink(item)"
|
||||
target="_blank"
|
||||
@@ -84,11 +84,17 @@ export default {
|
||||
'assignedCardsDashboard',
|
||||
]),
|
||||
cards() {
|
||||
const list = [
|
||||
/* const list = [
|
||||
...this.assignedCardsDashboard,
|
||||
].filter((card) => {
|
||||
return card.duedate !== null
|
||||
}) */
|
||||
|
||||
const list = this.assignedCardsDashboard.slice(0, 6)
|
||||
.filter((card) => {
|
||||
return card.duedate !== null
|
||||
})
|
||||
|
||||
list.sort((a, b) => {
|
||||
return (new Date(a.duedate)).getTime() - (new Date(b.duedate)).getTime()
|
||||
})
|
||||
|
||||
@@ -11,7 +11,7 @@ const config = {
|
||||
},
|
||||
output: {
|
||||
filename: '[name].js',
|
||||
jsonpFunction: 'webpackJsonpOCADeck',
|
||||
// jsonpFunction: 'webpackJsonpOCADeck',
|
||||
chunkFilename: '[name].js?v=[contenthash]',
|
||||
},
|
||||
resolve: {
|
||||
|
||||
Reference in New Issue
Block a user