refs #356 suggestion feature installation issue solved

This commit is contained in:
cuneytsenturk 2018-06-01 13:00:15 +03:00
parent 253dd39c5e
commit 499728a218
2 changed files with 4 additions and 2 deletions

View File

@ -60,7 +60,9 @@ class Header
$updates = count(Updater::all()); $updates = count(Updater::all());
if (!env('APP_INSTALLED', false)) {
$this->loadSuggestions(); $this->loadSuggestions();
}
$view->with([ $view->with([
'user' => $user, 'user' => $user,

View File

@ -20,7 +20,7 @@ class Suggestions
public function compose(View $view) public function compose(View $view)
{ {
// No need to add suggestions in console // No need to add suggestions in console
if (app()->runningInConsole()) { if (app()->runningInConsole() || !env('APP_INSTALLED', false)) {
return; return;
} }