refs #356 suggestion feature installation issue solved
This commit is contained in:
parent
253dd39c5e
commit
499728a218
@ -60,7 +60,9 @@ class Header
|
|||||||
|
|
||||||
$updates = count(Updater::all());
|
$updates = count(Updater::all());
|
||||||
|
|
||||||
$this->loadSuggestions();
|
if (!env('APP_INSTALLED', false)) {
|
||||||
|
$this->loadSuggestions();
|
||||||
|
}
|
||||||
|
|
||||||
$view->with([
|
$view->with([
|
||||||
'user' => $user,
|
'user' => $user,
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user