Skip to content

Commit

Permalink
restore overdue date default behavior
Browse files Browse the repository at this point in the history
Signed-off-by: Creighton <creightonfrance@gmail.com>
  • Loading branch information
creightonfrance committed Sep 24, 2024
1 parent 6c74fe4 commit a440671
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/AppSidebar/DateTimePickerItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export default {
*/
checkOverdue: {
type: Boolean,
default: false,
default: true,
}

Check warning on line 124 in src/components/AppSidebar/DateTimePickerItem.vue

View workflow job for this annotation

GitHub Actions / NPM lint

Missing trailing comma
},
data() {
Expand Down
3 changes: 1 addition & 2 deletions src/views/AppSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
:property-string="startDateString"
:read-only="readOnly"
:task="task"
:check-overdue=true
@editing="(editing) => editingStart = editing"
@set-value="setStartDate">
<template #icon>
Expand All @@ -55,7 +54,6 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
:property-string="dueDateString"
:read-only="readOnly"
:task="task"
:check-overdue=true
@editing="(editing) => editingDue = editing"
@set-value="setDueDate">
<template #icon>
Expand Down Expand Up @@ -174,6 +172,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
:property-string="completedString"
:read-only="readOnly"
:task="task"
:check-overdue=false
@set-value="changeCompletedDate">
<template #icon>
<CalendarCheck :size="20" />
Expand Down

0 comments on commit a440671

Please sign in to comment.