mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 00:04:35 -04:00
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}");
|
||||||
|
|
||||||
|
2
resources/js/setup/setup.js
vendored
2
resources/js/setup/setup.js
vendored
@ -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…
x
Reference in New Issue
Block a user