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());
$this->loadSuggestions();
if (!env('APP_INSTALLED', false)) {
$this->loadSuggestions();
}
$view->with([
'user' => $user,

View File

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