fix ui and download bug
This commit is contained in:
parent
1fdbe9edc7
commit
3a1f279d32
|
@ -16,3 +16,7 @@ ngx-dropzone {
|
|||
border-style: initial;
|
||||
}
|
||||
}
|
||||
|
||||
.centered {
|
||||
padding-inline: 1rem;
|
||||
}
|
||||
|
|
|
@ -153,7 +153,7 @@ export class ApiService {
|
|||
if (HasSuccess(filetype)) {
|
||||
const ext = FileType2Ext(filetype.identifier);
|
||||
if (HasSuccess(ext)) {
|
||||
if (name.endsWith(ext)) {
|
||||
if (!name.endsWith(ext)) {
|
||||
name += '.' + ext;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue