mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-15 20:48:08 +01:00
appPicture pipe, feed component update
This commit is contained in:
parent
07b1aeb835
commit
d529265b37
6 changed files with 19 additions and 3 deletions
10
src/app/theme/pipes/appPicture/appPicture.pipe.ts
Normal file
10
src/app/theme/pipes/appPicture/appPicture.pipe.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import {Pipe, PipeTransform} from 'angular2/core';
|
||||
import {layoutPaths} from '../../../theme';
|
||||
|
||||
@Pipe({name: 'appPicture'})
|
||||
export class AppPicturePipe implements PipeTransform {
|
||||
|
||||
transform(input:string, args:any[]):string {
|
||||
return layoutPaths.images.root + input;
|
||||
}
|
||||
}
|
||||
1
src/app/theme/pipes/appPicture/index.ts
Normal file
1
src/app/theme/pipes/appPicture/index.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export * from './appPicture.pipe.ts';
|
||||
|
|
@ -1 +1,2 @@
|
|||
export * from './profilePicture';
|
||||
export * from './appPicture';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue