fixed wizard company vue

This commit is contained in:
Cüneyt Şentürk 2021-06-02 01:07:15 +03:00
parent aa709ed3c2
commit 27c4db07b8

View File

@ -169,16 +169,19 @@ export default {
methods: { methods: {
onDataWatch(company) { onDataWatch(company) {
if (Object.keys(company).length) { if (Object.keys(company).length) {
let logo_arr = [{ if (company.logo) {
id: company.logo.id, let logo_arr = [{
name: company.logo.filename + "." + company.logo.extension, id: company.logo.id,
path: company.logo.path, name: company.logo.filename + "." + company.logo.extension,
type: company.logo.mime_type, path: company.logo.path,
size: company.logo.size, type: company.logo.mime_type,
downloadPath: false, size: company.logo.size,
}]; downloadPath: false,
}];
this.logo.push(logo_arr);
}
this.logo.push(logo_arr);
this.real_date = company.financial_start; this.real_date = company.financial_start;
} }
}, },