clean up stage 1
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<div class="carousel-container" [class.novo-theme]="isnovo">
|
||||
<div class="carousel-container" [class.novo-theme]="isMarketplaceNovo">
|
||||
@if (loading()) {
|
||||
<div class="carousel-loading">
|
||||
<div class="spinner"></div>
|
||||
|
||||
@@ -102,7 +102,7 @@ export class ItemsCarouselComponent implements OnInit {
|
||||
readonly getBadgeClass = getBadgeClass;
|
||||
|
||||
private langService = inject(LanguageService);
|
||||
get isnovo(): boolean { return this.uiRuntime.isNovo(); }
|
||||
get isMarketplaceNovo(): boolean { return this.uiRuntime.isMarketplaceVariant('novo'); }
|
||||
itemName(product: Item): string { return getTranslatedField(product, 'name', this.langService.currentLanguage()); }
|
||||
|
||||
addToCart(event: Event, item: Item): void {
|
||||
|
||||
Reference in New Issue
Block a user