Skip to content

Commit 962db61

Browse files
committed
fixes
1 parent e1c8893 commit 962db61

File tree

3 files changed

+644
-194
lines changed

3 files changed

+644
-194
lines changed

MyApp.Client/src/app/todomvc/todos.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export class TodoMvcComponent implements OnInit {
109109
}
110110

111111
startEditing(todo: Todo): void {
112-
this.editingTodoId = todo.id;
112+
this.editingTodoId = todo.id!;
113113
this.editingTodoText = todo.text;
114114
}
115115

@@ -131,7 +131,7 @@ export class TodoMvcComponent implements OnInit {
131131
}
132132
});
133133
} else {
134-
this.deleteTodo(todo.id);
134+
this.deleteTodo(todo.id!);
135135
}
136136
this.editingTodoId = null;
137137
}

MyApp.Client/src/components/services/metadata.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class MetadataService {
2121
userIcon: { svg: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#4a5565" d="M16 8a5 5 0 1 0 5 5a5 5 0 0 0-5-5"/><path fill="#4a5565" d="M16 2a14 14 0 1 0 14 14A14.016 14.016 0 0 0 16 2m7.993 22.926A5 5 0 0 0 19 20h-6a5 5 0 0 0-4.992 4.926a12 12 0 1 1 15.985 0"/></svg>` },
2222
tableIcon: { svg: `<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g fill='none' stroke='currentColor' stroke-width='1.5'><path d='M5 12v6s0 3 7 3s7-3 7-3v-6'/><path d='M5 6v6s0 3 7 3s7-3 7-3V6'/><path d='M12 3c7 0 7 3 7 3s0 3-7 3s-7-3-7-3s0-3 7-3Z'/></g></svg>` },
2323
});
24-
this.loadMetadata({ olderThan:10*60*1000 }) // 10 minutes
24+
this.loadMetadata({ olderThan:0 })
2525
}
2626

2727
metadata = signal<AppMetadata|null>(null)

0 commit comments

Comments
 (0)