mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 16:23:08 +02:00
fix
This commit is contained in:
parent
5279d062df
commit
b266ed3e4f
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,6 @@ export default (
|
||||||
detail: false
|
detail: false
|
||||||
}, options);
|
}, options);
|
||||||
|
|
||||||
if (!file) return reject('invalid file arg.')
|
|
||||||
|
|
||||||
let _file: any;
|
let _file: any;
|
||||||
|
|
||||||
// Populate the file if 'file' is ID
|
// Populate the file if 'file' is ID
|
||||||
|
@ -42,6 +40,8 @@ export default (
|
||||||
_file = deepcopy(file);
|
_file = deepcopy(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!_file) return reject('invalid file arg.')
|
||||||
|
|
||||||
// rendered target
|
// rendered target
|
||||||
let _target: any = {};
|
let _target: any = {};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue