Skip to content

Commit 57b8f9d

Browse files
committed
Don't update the UpdateDate via default
1 parent 0536730 commit 57b8f9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LinkDotNet.Blog.Web/Features/Admin/BlogPostEditor/Components/CreateNewModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class CreateNewModel
2525
public bool IsPublished { get; set; } = true;
2626

2727
[Required]
28-
public bool ShouldUpdateDate { get; set; } = true;
28+
public bool ShouldUpdateDate { get; set; } = false;
2929

3030
public string Tags { get; set; }
3131

@@ -55,4 +55,4 @@ public BlogPost ToBlogPost()
5555
blogPost.Id = Id;
5656
return blogPost;
5757
}
58-
}
58+
}

0 commit comments

Comments
 (0)