Skip to content

Commit

Permalink
Merge pull request #20359 from abpframework/auto-merge/rel-8-2/2854
Browse files Browse the repository at this point in the history
Merge branch rel-8.3 with rel-8.2
  • Loading branch information
maliming authored Jul 31, 2024
2 parents 674d345 + 24da368 commit 2e20544
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/en/tutorials/todo/single-layer/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ namespace TodoApp.Entities;
public class TodoItem : BasicAggregateRoot<Guid>
{
public string Text { get; set; }
public string Text { get; set; } = string.Empty;
}
````
Expand Down Expand Up @@ -288,7 +288,7 @@ namespace TodoApp.Services.Dtos;
public class TodoItemDto
{
public Guid Id { get; set; }
public string Text { get; set; }
public string Text { get; set; } = string.Empty;
}
```
Expand Down Expand Up @@ -420,7 +420,7 @@ namespace TodoApp.Pages;
public class IndexModel : AbpPageModel
{
public List<TodoItemDto> TodoItems { get; set; }
public List<TodoItemDto> TodoItems { get; set; } = new();
private readonly TodoAppService _todoAppService;
Expand Down Expand Up @@ -543,8 +543,6 @@ As for the final touch, open the `Index.cshtml.css` file in the `Pages` folder a
#TodoList li {
padding: 5px;
margin: 5px 0px;
border: 1px solid #cccccc;
background-color: #f5f5f5;
}
#TodoList li i
Expand Down

0 comments on commit 2e20544

Please sign in to comment.