Company post method development for logo dropzone

This commit is contained in:
Burak Civan
2021-05-26 13:20:37 +03:00
parent d145d41ae6
commit 7adb8c9663
3 changed files with 32 additions and 17 deletions

View File

@ -70,13 +70,12 @@
</div>
<div class="col-6">
<base-input :label="translations.company.logo">
<keep-alive>
<akaunting-dropzone-file-upload
ref="dropzoneWizard"
preview-classes="single"
:attachments="logo"
>
</akaunting-dropzone-file-upload>
</keep-alive>
</base-input>
</div>
</div>
@ -173,8 +172,7 @@ export default {
},
onEditSave() {
this.onEditEvent("PATCH", url + "/wizard/company", "", "", "");
this.onEditEvent("PATCH", url + "/wizard/company", "logo", "", "");
this.$router.push("/wizard/currencies");
},
},