Fix for displaying logo
This commit is contained in:
parent
c0b6d1e490
commit
487cf555b9
|
|
@ -33,7 +33,7 @@ trait Uploadable
|
||||||
if ($file) {
|
if ($file) {
|
||||||
$path = UploadAvatar::dispatchNow($file, $company->company_key);
|
$path = UploadAvatar::dispatchNow($file, $company->company_key);
|
||||||
|
|
||||||
$path = str_replace(config("ninja.app_url"), "", $path);
|
//$path = str_replace(config("ninja.app_url"), "", $path);
|
||||||
|
|
||||||
info("the path {$path}");
|
info("the path {$path}");
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -105,7 +105,7 @@ class Setup {
|
||||||
);
|
);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.handleSuccess(this.checkPdfAlert, 'database-wrapper');
|
this.handleSuccess(this.checkPdfAlert, 'database-wrapper');
|
||||||
this.checkPdfAlert.textContent = `Success! You can preview test PDF here: ${response.data.url}`;
|
this.checkPdfAlert.textContent = `Success! PDF was generated succesfully.`;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue