Small set of Fixes (#3776)
This commit is contained in:
parent
5c06e14a73
commit
7b3198ed9c
7 changed files with 37 additions and 16 deletions
|
@ -7,7 +7,12 @@
|
|||
<app-card-actionables [actions]="actionables" (actionHandler)="performAction($event)"></app-card-actionables>
|
||||
}
|
||||
<h4 class="header" (click)="sectionClicked($event)" [ngClass]="{'non-selectable': !clickableTitle}">
|
||||
<a [href]="titleLink !== '' ? titleLink : 'javascript:void(0)'" class="section-title">{{title}}</a>
|
||||
@if (titleLink !== '') {
|
||||
<a [href]="titleLink | safeUrl" class="section-title">{{title}}</a>
|
||||
} @else {
|
||||
<a href="javascript:void(0)" class="section-title">{{title}}</a>
|
||||
}
|
||||
|
||||
@if (iconClasses !== '') {
|
||||
<i class="{{iconClasses}} title-icon ms-1" aria-hidden="true"></i>
|
||||
}
|
||||
|
|
|
@ -15,13 +15,14 @@ import {NgClass, NgTemplateOutlet} from '@angular/common';
|
|||
import {TranslocoDirective} from "@jsverse/transloco";
|
||||
import {CardActionablesComponent} from "../../../_single-module/card-actionables/card-actionables.component";
|
||||
import {ActionItem} from "../../../_services/action-factory.service";
|
||||
import {SafeUrlPipe} from "../../../_pipes/safe-url.pipe";
|
||||
|
||||
@Component({
|
||||
selector: 'app-carousel-reel',
|
||||
templateUrl: './carousel-reel.component.html',
|
||||
styleUrls: ['./carousel-reel.component.scss'],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
imports: [NgClass, SwiperModule, NgTemplateOutlet, TranslocoDirective, CardActionablesComponent]
|
||||
imports: [NgClass, SwiperModule, NgTemplateOutlet, TranslocoDirective, CardActionablesComponent, SafeUrlPipe]
|
||||
})
|
||||
export class CarouselReelComponent {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue