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