add change

This commit is contained in:
Костя 2025-06-17 18:12:17 +03:00
parent 632ad58e1b
commit 620a97cc80
3 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
<h2>{{hero.name}} Details</h2> <h2>{{hero.name | uppercase}} Details</h2>
<div><span>id: </span>{{hero.id}}</div> <div><span>id: </span>{{hero.id}}</div>
<div><span>name: </span>{{hero.name}}</div> <div><span>name: </span>{{hero.name}}</div>

View File

@ -1,5 +1,5 @@
import { Component } from '@angular/core'; import { Component } from '@angular/core';
import { Hero } from './hero'; import { Hero } from '../hero';
@Component({ @Component({
selector: 'app-heroes', selector: 'app-heroes',