From 3ff487d9f7ffa8b5560f7d5b9dd8e78a8d028c7b Mon Sep 17 00:00:00 2001 From: Oleksa Novyk Date: Sat, 25 Jun 2022 15:32:40 +0300 Subject: [PATCH] fix: do not throw errors on SSR --- package.json | 1 + projects/icong/package.json | 2 +- .../src/lib/icons-host/icons-host.component.html | 1 - .../src/lib/icons-host/icons-host.component.ts | 15 +++++++++++++-- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index e726ff1..35baeb7 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "lib:publish": "npm publish ./dist/icong --access=public", "lib:publish:beta": "npm publish ./dist/icong --access=public --tag=beta", "lib:release": "npm run lib:build && npm run lib:publish", + "lib:release:beta": "npm run lib:build && npm run lib:publish:beta", "website:serve": "ng run website:serve", "website:build": "ng run website:build:production", "website:deploy": "ng run website:deploy --cname=icong.oleksanovyk.com" diff --git a/projects/icong/package.json b/projects/icong/package.json index 787cedc..072011b 100644 --- a/projects/icong/package.json +++ b/projects/icong/package.json @@ -1,6 +1,6 @@ { "name": "icong", - "version": "14.0.1", + "version": "14.0.2", "description": "Efficient Angular SVG Icons.", "keywords": ["angular", "icons", "svg"], "author": { diff --git a/projects/icong/src/lib/icons-host/icons-host.component.html b/projects/icong/src/lib/icons-host/icons-host.component.html index bdffcd6..99ff8dc 100644 --- a/projects/icong/src/lib/icons-host/icons-host.component.html +++ b/projects/icong/src/lib/icons-host/icons-host.component.html @@ -1,7 +1,6 @@ { @@ -49,7 +57,10 @@ export class IconsHostComponent implements OnInit { }); } - trackByFn(index, item: {name: string}) { + trackByFn( + index, + item: {name: string}, + ) { return item.name; } }