mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-03-13 08:56:14 +01:00
profilePicturePipe -> baProfilePicturePipe
This commit is contained in:
parent
e3982b255e
commit
33b75eca35
10 changed files with 15 additions and 15 deletions
|
|
@ -1,13 +1,13 @@
|
|||
import {Component, ViewEncapsulation} from '@angular/core';
|
||||
|
||||
import {ProfilePicturePipe, BaAppPicturePipe} from '../../../theme/pipes';
|
||||
import {BaProfilePicturePipe, BaAppPicturePipe} from '../../../theme/pipes';
|
||||
import {FeedService} from './feed.service';
|
||||
|
||||
@Component({
|
||||
selector: 'feed',
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
providers: [FeedService],
|
||||
pipes: [ProfilePicturePipe, BaAppPicturePipe],
|
||||
pipes: [BaProfilePicturePipe, BaAppPicturePipe],
|
||||
styles: [require('./feed.scss')],
|
||||
template: require('./feed.html')
|
||||
})
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<div class="feed-messages-container">
|
||||
<div class="feed-message" *ngFor="let message of feed" (click)="expandMessage(message)">
|
||||
<div class="message-icon" *ngIf="message.type == 'text-message'">
|
||||
<img class="photo-icon" src="{{ ( message.author | profilePicture ) }}">
|
||||
<img class="photo-icon" src="{{ ( message.author | baProfilePicture ) }}">
|
||||
</div>
|
||||
<div class="message-icon" *ngIf="message.type != 'text-message'">
|
||||
<img class="photo-icon" src="{{ ( message.author | profilePicture ) }}">
|
||||
<img class="photo-icon" src="{{ ( message.author | baProfilePicture ) }}">
|
||||
<span class="sub-photo-icon" [ngClass]="message.type"></span>
|
||||
</div>
|
||||
<div class="text-block text-message">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue