Skip to content

Commit 64f9631

Browse files
committed
Fix use of FileUploader
1 parent 84169a2 commit 64f9631

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/components/project-map/new-template-dialog/new-template-dialog.component.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export class NewTemplateDialogComponent implements OnInit {
143143
this.qemuBinaries = binaries;
144144
});
145145

146-
this.uploader = new FileUploader({});
146+
this.uploader = new FileUploader({url: ''});
147147
this.uploader.onAfterAddingFile = (file) => {
148148
file.withCredentials = false;
149149
};
@@ -162,7 +162,7 @@ export class NewTemplateDialogComponent implements OnInit {
162162
this.getAppliance(item.url);
163163
};
164164

165-
this.uploaderImage = new FileUploader({});
165+
this.uploaderImage = new FileUploader({url: ''});
166166
this.uploaderImage.onAfterAddingFile = (file) => {
167167
file.withCredentials = false;
168168
};

0 commit comments

Comments
 (0)