@@ -65,7 +65,8 @@ export default {
|
|||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
id: {
|
id: {
|
||||||
type: Number
|
type: Number,
|
||||||
|
required: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
:subtitle="subtitle"
|
:subtitle="subtitle"
|
||||||
@close="closeSidebar">
|
@close="closeSidebar">
|
||||||
<template #action />
|
<template #action />
|
||||||
<AppSidebarTab name="Details" icon="icon-home" :order="0">
|
<AppSidebarTab :order="0" name="Details" icon="icon-home">
|
||||||
|
|
||||||
<p>Tags</p>
|
<p>Tags</p>
|
||||||
<multiselect v-model="allLabels" :multiple="true" :options="currentBoard.labels"
|
<multiselect v-model="allLabels" :multiple="true" :options="currentBoard.labels"
|
||||||
@@ -57,13 +57,13 @@
|
|||||||
|
|
||||||
<markdown-editor ref="markdownEditor" v-model="desc" :configs="{autofocus: true, autosave: {enabled: true, uniqueId: 'unique'}, toolbar: false}" />
|
<markdown-editor ref="markdownEditor" v-model="desc" :configs="{autofocus: true, autosave: {enabled: true, uniqueId: 'unique'}, toolbar: false}" />
|
||||||
</AppSidebarTab>
|
</AppSidebarTab>
|
||||||
<AppSidebarTab name="Attachments" icon="icon-files-dark" :order="1">
|
<AppSidebarTab :order="1" name="Attachments" icon="icon-files-dark">
|
||||||
{{ currentCard.attachments }}
|
{{ currentCard.attachments }}
|
||||||
<button class="icon-upload" @click="clickAddNewAttachmment()">
|
<button class="icon-upload" @click="clickAddNewAttachmment()">
|
||||||
{{ t('deck', 'Upload attachment') }}
|
{{ t('deck', 'Upload attachment') }}
|
||||||
</button>
|
</button>
|
||||||
</AppSidebarTab>
|
</AppSidebarTab>
|
||||||
<AppSidebarTab name="Timeline" icon="icon-activity" :order="2">
|
<AppSidebarTab :order="2" name="Timeline" icon="icon-activity">
|
||||||
this is the activity tab
|
this is the activity tab
|
||||||
</AppSidebarTab>
|
</AppSidebarTab>
|
||||||
</app-sidebar>
|
</app-sidebar>
|
||||||
@@ -85,7 +85,8 @@ export default {
|
|||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
id: {
|
id: {
|
||||||
type: Number
|
type: Number,
|
||||||
|
required: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
@@ -135,7 +136,6 @@ export default {
|
|||||||
'currentCard': {
|
'currentCard': {
|
||||||
immediate: true,
|
immediate: true,
|
||||||
handler() {
|
handler() {
|
||||||
console.log(this.currentCard)
|
|
||||||
this.copiedCard = JSON.parse(JSON.stringify(this.currentCard))
|
this.copiedCard = JSON.parse(JSON.stringify(this.currentCard))
|
||||||
this.allLabels = this.currentCard.labels
|
this.allLabels = this.currentCard.labels
|
||||||
this.assignedUsers = this.currentCard.assignedUsers.map((item) => item.participant)
|
this.assignedUsers = this.currentCard.assignedUsers.map((item) => item.participant)
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
<ul class="labels" @click="openCard">
|
<ul class="labels" @click="openCard">
|
||||||
<li v-for="label in card.labels" :key="label.id" :style="labelStyle(label)"><span>{{ label.title }}</span></li>
|
<li v-for="label in card.labels" :key="label.id" :style="labelStyle(label)"><span>{{ label.title }}</span></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div v-show="!compactMode" @click="openCard" class="card-controls compact-item">
|
<div v-show="!compactMode" class="card-controls compact-item" @click="openCard">
|
||||||
<card-badges :id="id" />
|
<card-badges :id="id" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ export default new Router({
|
|||||||
id: parseInt(route.params.id, 10)
|
id: parseInt(route.params.id, 10)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'cards/:cardId',
|
path: 'cards/:cardId',
|
||||||
@@ -107,7 +107,7 @@ export default new Router({
|
|||||||
id: parseInt(route.params.cardId, 10)
|
id: parseInt(route.params.cardId, 10)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user