Skip to content

Commit

Permalink
fix problems
Browse files Browse the repository at this point in the history
  • Loading branch information
samplecode17 committed Dec 15, 2024
1 parent 1a2607e commit e6ee6fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/room/room-list/room-list.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export class RoomListComponent implements OnInit {
getAparmentName(Apart: Apartment): string {
return Apart.getName();
}
deleteApartment(roomId: string): void {
deleteRoom(roomId: string): void {
if (roomId) {
console.log('Room ID:', roomId);
this.router.navigate([`/room/${roomId}/delete`]);
Expand Down

0 comments on commit e6ee6fd

Please sign in to comment.