mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-14 20:28:06 +01:00
fix(picture uploader): ngx-uploader integration
This commit is contained in:
parent
be9c677c06
commit
65dcb90f05
4 changed files with 21 additions and 28 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import {Component, ViewEncapsulation} from '@angular/core';
|
||||
import { NgUploaderOptions } from 'ngx-uploader';
|
||||
|
||||
@Component({
|
||||
selector: 'layouts',
|
||||
|
|
@ -12,8 +13,9 @@ export class Layouts {
|
|||
public profile:any = {
|
||||
picture: 'assets/img/app/profile/Nasta.png'
|
||||
};
|
||||
public uploaderOptions:any = {
|
||||
public uploaderOptions:NgUploaderOptions = {
|
||||
// url: 'http://website.com/upload'
|
||||
url: '',
|
||||
};
|
||||
|
||||
constructor() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue