auto updates

This commit is contained in:
Andras Bacsai
2023-05-22 12:00:59 +02:00
parent 8f7fd4295e
commit e00ccf65cf
15 changed files with 147 additions and 38 deletions

View File

@@ -133,7 +133,7 @@ Route::middleware(['auth'])->group(function () {
})->name('team');
Route::get('/settings', function () {
$isRoot = auth()->user()->isRoot();
$isRoot = auth()->user()->isPartOfRootTeam();
if ($isRoot) {
$settings = InstanceSettings::get();
return view('settings', [