feat(teams): user preference toggle for mirroring

This commit is contained in:
SabreCat
2022-06-28 16:18:24 -05:00
parent 712b85ce84
commit a3f61306d3
5 changed files with 62 additions and 18 deletions

View File

@@ -1164,8 +1164,9 @@ export default {
if (
this.isGroupTask && direction === 'down'
&& ['todo', 'daily'].indexOf(this.task.type) !== -1
&& (!this.task.group.assignedUsersDetail
|| !this.task.group.assignedUsersDetail[this.user._id])
&& !((this.task.group.completedBy && this.task.group.completedBy.userId === this.user._id)
|| (this.task.group.assignedUsersDetail
&& this.task.group.assignedUsersDetail[this.user._id]))
) {
this.$store.dispatch('tasks:needsWork', {
taskId: this.task._id,