mirror of
https://github.com/dbgate/dbgate
synced 2024-11-08 04:35:58 +00:00
fix
This commit is contained in:
parent
a22320e141
commit
994195667d
@ -47,7 +47,7 @@ export function useUploadsZone() {
|
||||
|
||||
for (const format of extensions.fileFormats) {
|
||||
if (file.name.endsWith('.' + format.extension)) {
|
||||
fileData.shortName = file.name.slice(-format.extension.length - 1);
|
||||
fileData.shortName = file.name.slice(0, -format.extension.length - 1);
|
||||
fileData.storageType = format.storageType;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user