Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a14a33d69c | ||
|
|
fd968d95d7 | ||
|
|
a34c3b0667 | ||
|
|
418536ceb1 | ||
|
|
4be27cc653 |
@@ -1,6 +1,13 @@
|
||||
# Changelog
|
||||
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
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
- 🚀 Get your project organized
|
||||
|
||||
</description>
|
||||
<version>1.2.5</version>
|
||||
<version>1.2.6</version>
|
||||
<licence>agpl</licence>
|
||||
<author>Julius Härtl</author>
|
||||
<namespace>Deck</namespace>
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
type="deck-card" />
|
||||
</div>
|
||||
|
||||
<Description :key="card.id" :card="card" />
|
||||
<Description :key="card.id" :card="card" @change="descriptionChanged" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -234,6 +234,9 @@ export default {
|
||||
this.initialize()
|
||||
},
|
||||
methods: {
|
||||
descriptionChanged(newDesc) {
|
||||
this.copiedCard.description = newDesc
|
||||
},
|
||||
async initialize() {
|
||||
if (!this.card) {
|
||||
return
|
||||
@@ -253,9 +256,6 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
setDue() {
|
||||
this.$store.dispatch('updateCardDue', this.copiedCard)
|
||||
},
|
||||
removeDue() {
|
||||
this.copiedCard.duedate = null
|
||||
this.$store.dispatch('updateCardDue', this.copiedCard)
|
||||
|
||||
@@ -205,6 +205,7 @@ export default {
|
||||
await this.$store.dispatch('updateCardDesc', { ...this.card, description: this.description })
|
||||
this.descriptionLastEdit = 0
|
||||
this.descriptionSaving = false
|
||||
this.$emit('change', this.description)
|
||||
},
|
||||
updateDescription() {
|
||||
this.descriptionLastEdit = Date.now()
|
||||
|
||||
@@ -235,9 +235,7 @@ export default {
|
||||
try {
|
||||
const newBoard = await this.$store.dispatch('cloneBoard', this.board)
|
||||
this.loading = false
|
||||
const route = this.routeTo
|
||||
route.params.id = newBoard.id
|
||||
this.$router.push(route)
|
||||
this.$router.push({ name: 'board', params: { id: newBoard.id } })
|
||||
} catch (e) {
|
||||
OC.Notification.showTemporary(t('deck', 'An error occurred'))
|
||||
console.error(e)
|
||||
@@ -278,9 +276,7 @@ export default {
|
||||
)
|
||||
},
|
||||
actionDetails() {
|
||||
const route = this.routeTo
|
||||
route.name = 'board.details'
|
||||
this.$router.push(route)
|
||||
this.$router.push({ name: 'board.details', params: { id: this.routeTo.id } })
|
||||
},
|
||||
applyEdit(e) {
|
||||
this.editing = false
|
||||
@@ -298,11 +294,6 @@ export default {
|
||||
cancelEdit(e) {
|
||||
this.editing = false
|
||||
},
|
||||
showSidebar() {
|
||||
const route = this.routeTo
|
||||
route.name = 'board.details'
|
||||
this.$router.push(route)
|
||||
},
|
||||
async updateSetting(key, value) {
|
||||
this.updateDueSetting = value
|
||||
const setting = {}
|
||||
|
||||
Reference in New Issue
Block a user