Code format

This commit is contained in:
Çetin
2025-01-07 17:29:51 +03:00
parent e3bcb0fdb6
commit 44c2361564
49 changed files with 1536 additions and 1723 deletions
+7 -6
View File
@@ -4,8 +4,7 @@ import { map } from 'rxjs/operators';
@Injectable()
export class IconService {
constructor(private http: HttpClient) { }
constructor(private http: HttpClient) {}
icons!: any[];
@@ -14,9 +13,11 @@ export class IconService {
apiUrl = 'assets/demo/data/icons.json';
getIcons() {
return this.http.get(this.apiUrl).pipe(map((response: any) => {
this.icons = response.icons;
return this.icons;
}));
return this.http.get(this.apiUrl).pipe(
map((response: any) => {
this.icons = response.icons;
return this.icons;
})
);
}
}