Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a14a33d69c | ||
|
|
fd968d95d7 | ||
|
|
a34c3b0667 | ||
|
|
418536ceb1 | ||
|
|
4be27cc653 |
@@ -1,6 +1,13 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## 1.2.6 - 2021-04-07
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
* [#2925](https://github.com/nextcloud/deck/pull/2925) Avoid reusing the existing route object to make navigation work properly
|
||||||
|
* [#2947](https://github.com/nextcloud/deck/pull/2947) Fix bug when saving the description
|
||||||
|
|
||||||
|
|
||||||
## 1.2.5 - 2021-03-05
|
## 1.2.5 - 2021-03-05
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
- 🚀 Get your project organized
|
- 🚀 Get your project organized
|
||||||
|
|
||||||
</description>
|
</description>
|
||||||
<version>1.2.5</version>
|
<version>1.2.6</version>
|
||||||
<licence>agpl</licence>
|
<licence>agpl</licence>
|
||||||
<author>Julius Härtl</author>
|
<author>Julius Härtl</author>
|
||||||
<namespace>Deck</namespace>
|
<namespace>Deck</namespace>
|
||||||
|
|||||||
@@ -117,7 +117,7 @@
|
|||||||
type="deck-card" />
|
type="deck-card" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Description :key="card.id" :card="card" />
|
<Description :key="card.id" :card="card" @change="descriptionChanged" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -234,6 +234,9 @@ export default {
|
|||||||
this.initialize()
|
this.initialize()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
descriptionChanged(newDesc) {
|
||||||
|
this.copiedCard.description = newDesc
|
||||||
|
},
|
||||||
async initialize() {
|
async initialize() {
|
||||||
if (!this.card) {
|
if (!this.card) {
|
||||||
return
|
return
|
||||||
@@ -253,9 +256,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
setDue() {
|
|
||||||
this.$store.dispatch('updateCardDue', this.copiedCard)
|
|
||||||
},
|
|
||||||
removeDue() {
|
removeDue() {
|
||||||
this.copiedCard.duedate = null
|
this.copiedCard.duedate = null
|
||||||
this.$store.dispatch('updateCardDue', this.copiedCard)
|
this.$store.dispatch('updateCardDue', this.copiedCard)
|
||||||
|
|||||||
@@ -205,6 +205,7 @@ export default {
|
|||||||
await this.$store.dispatch('updateCardDesc', { ...this.card, description: this.description })
|
await this.$store.dispatch('updateCardDesc', { ...this.card, description: this.description })
|
||||||
this.descriptionLastEdit = 0
|
this.descriptionLastEdit = 0
|
||||||
this.descriptionSaving = false
|
this.descriptionSaving = false
|
||||||
|
this.$emit('change', this.description)
|
||||||
},
|
},
|
||||||
updateDescription() {
|
updateDescription() {
|
||||||
this.descriptionLastEdit = Date.now()
|
this.descriptionLastEdit = Date.now()
|
||||||
|
|||||||
@@ -235,9 +235,7 @@ export default {
|
|||||||
try {
|
try {
|
||||||
const newBoard = await this.$store.dispatch('cloneBoard', this.board)
|
const newBoard = await this.$store.dispatch('cloneBoard', this.board)
|
||||||
this.loading = false
|
this.loading = false
|
||||||
const route = this.routeTo
|
this.$router.push({ name: 'board', params: { id: newBoard.id } })
|
||||||
route.params.id = newBoard.id
|
|
||||||
this.$router.push(route)
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
OC.Notification.showTemporary(t('deck', 'An error occurred'))
|
OC.Notification.showTemporary(t('deck', 'An error occurred'))
|
||||||
console.error(e)
|
console.error(e)
|
||||||
@@ -278,9 +276,7 @@ export default {
|
|||||||
)
|
)
|
||||||
},
|
},
|
||||||
actionDetails() {
|
actionDetails() {
|
||||||
const route = this.routeTo
|
this.$router.push({ name: 'board.details', params: { id: this.routeTo.id } })
|
||||||
route.name = 'board.details'
|
|
||||||
this.$router.push(route)
|
|
||||||
},
|
},
|
||||||
applyEdit(e) {
|
applyEdit(e) {
|
||||||
this.editing = false
|
this.editing = false
|
||||||
@@ -298,11 +294,6 @@ export default {
|
|||||||
cancelEdit(e) {
|
cancelEdit(e) {
|
||||||
this.editing = false
|
this.editing = false
|
||||||
},
|
},
|
||||||
showSidebar() {
|
|
||||||
const route = this.routeTo
|
|
||||||
route.name = 'board.details'
|
|
||||||
this.$router.push(route)
|
|
||||||
},
|
|
||||||
async updateSetting(key, value) {
|
async updateSetting(key, value) {
|
||||||
this.updateDueSetting = value
|
this.updateDueSetting = value
|
||||||
const setting = {}
|
const setting = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user