put in new if select file then no show file is not select
This commit is contained in:
@@ -79,7 +79,7 @@ public class ImportPersonRepository
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
error = "error filename " + criteria.FileName + " can not find";
|
error = "error filename " + criteria.FileName + " can not find in this folder:" + imagePath;
|
||||||
statusCode = -1;
|
statusCode = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ services:
|
|||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: familytreeui
|
container_name: familytreeui
|
||||||
volumes:
|
volumes:
|
||||||
- ./:/app
|
- ./:/app
|
||||||
networks:
|
networks:
|
||||||
- dev
|
- dev
|
||||||
familytreeapi:
|
familytreeapi:
|
||||||
@@ -54,7 +54,9 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- "Logging:Microsoft.AspNetCore.DataProtection:None"
|
- "Logging:Microsoft.AspNetCore.DataProtection:None"
|
||||||
- "AppSettings:SQLConnectionString=host=postgresdb;database=FamilyTreeDB;username=postgres;password=Positive~1"
|
- "AppSettings:SQLConnectionString=host=postgresdb;database=FamilyTreeDB;username=postgres;password=Positive~1"
|
||||||
|
volumes:
|
||||||
|
- app_import:/home/kham/dvolumes/app_import
|
||||||
|
- app_images:/home/kham/dvolumes/app_images
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
build:
|
build:
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ onFileSelected(event: any) {
|
|||||||
if (file) {
|
if (file) {
|
||||||
this.file = file;
|
this.file = file;
|
||||||
//this.messageService.add({ severity: 'info', summary: 'Success', detail: 'File Uploaded!' });
|
//this.messageService.add({ severity: 'info', summary: 'Success', detail: 'File Uploaded!' });
|
||||||
// this.courseForm.patchValue({ attachmenFile: this.file.name });
|
this.adminuserForm.patchValue({ image: this.file.name });
|
||||||
this.fileName = file.name;
|
this.fileName = file.name;
|
||||||
this.subChanged$.next(false);
|
this.subChanged$.next(false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user