mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-01 14:23:58 +00:00
fix
This commit is contained in:
@@ -47,7 +47,7 @@ export function useUploadsZone() {
|
|||||||
|
|
||||||
for (const format of extensions.fileFormats) {
|
for (const format of extensions.fileFormats) {
|
||||||
if (file.name.endsWith('.' + format.extension)) {
|
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;
|
fileData.storageType = format.storageType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user