Merge branch 'main' into feature/date-math
This commit is contained in:
@ -235,7 +235,6 @@ store.dispatch('labels/loadAllLabels')
|
||||
|
||||
.app-content {
|
||||
padding: $navbar-height + 1.5rem 1.5rem 1rem 1.5rem;
|
||||
z-index: 2;
|
||||
|
||||
@media screen and (max-width: $tablet) {
|
||||
margin-left: 0;
|
||||
@ -252,11 +251,6 @@ store.dispatch('labels/loadAllLabels')
|
||||
}
|
||||
}
|
||||
|
||||
&.task\.detail {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.card {
|
||||
background: var(--white);
|
||||
}
|
||||
|
@ -183,6 +183,10 @@ export default {
|
||||
this.updateData()
|
||||
},
|
||||
get() {
|
||||
if(!this.date) {
|
||||
return ''
|
||||
}
|
||||
|
||||
return format(this.date, 'yyy-LL-dd H:mm')
|
||||
},
|
||||
},
|
||||
|
@ -104,11 +104,12 @@ export default {
|
||||
async toggleTaskDone(task) {
|
||||
this.loadingInternal = true
|
||||
try {
|
||||
const done = !task.done
|
||||
await this.$store.dispatch('tasks/update', {
|
||||
...task,
|
||||
done: !task.done,
|
||||
done,
|
||||
})
|
||||
if (task.done) {
|
||||
if (done) {
|
||||
playPop()
|
||||
}
|
||||
} finally {
|
||||
|
Reference in New Issue
Block a user