mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-26 00:29:43 +02:00
fix broken upload button on migrations
This commit is contained in:
parent
f48f55b6dc
commit
fbf4282063
4 changed files with 6 additions and 1 deletions
|
@ -46,11 +46,12 @@ export default {
|
|||
if (this.file != null) {
|
||||
this.isSelecting = true;
|
||||
|
||||
if (this.post) {
|
||||
if (!this.post) {
|
||||
this.$emit(UPLOAD_EVENT, this.file);
|
||||
this.isSelecting = false;
|
||||
return;
|
||||
}
|
||||
|
||||
let formData = new FormData();
|
||||
formData.append(this.fileName, this.file);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue