Fix for displaying logo

This commit is contained in:
= 2021-03-13 16:56:52 +11:00
parent c0b6d1e490
commit 487cf555b9
2 changed files with 2 additions and 2 deletions

View File

@ -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}");

View File

@ -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) => {