fix: wrong string conversion
This commit is contained in:
parent
fec6812ff6
commit
5749b85323
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ function imageLocation(id: string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function attachmentLocation(id: string, filename?: string) {
|
function attachmentLocation(id: string, filename?: string) {
|
||||||
return `employee/${id}/attachment/${filename}`;
|
return `employee/${id}/attachment/${filename || ""}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
type EmployeeCreate = {
|
type EmployeeCreate = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue