Skip to content
Snippets Groups Projects
Commit 4c938590 authored by Martin's avatar Martin
Browse files

OZG-5977 add function signature for state clear

parent f9c20658
No related branches found
No related tags found
1 merge request!67OZG-5977 add multi option to file upload button
......@@ -108,6 +108,10 @@ describe('BinaryFileService', () => {
//Implement me
});
describe('clear uploaded files', () => {
//Implement me
});
describe('upload file new', () => {
const file: File = createFile();
const uploadUrl: string = faker.internet.url();
......
......@@ -81,6 +81,10 @@ export class BinaryFileService {
//Implement me
}
public clearUploadedFiles(type: FileUploadType): void {
//Implement me
}
//TODO Rename
public uploadFileNew(toUploadFile: ToUploadFile): void {
if (!(toUploadFile.uploadUrl in this.uploadFiles.value)) this.uploadFiles.value[toUploadFile.type] = EMPTY_ARRAY;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment