Move Team, Security, and Webhooks under Meet Settings.
Deploy Ladill Meet / deploy (push) Successful in 50s
Deploy Ladill Meet / deploy (push) Successful in 50s
Drop them from the admin sidebar, surface Team on the settings page, remove the unused branches message, and add Settings back-links on those screens.
This commit is contained in:
@@ -4,7 +4,6 @@ namespace App\Http\Controllers\Meet;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Http\Controllers\Meet\Concerns\ScopesToAccount;
|
||||
use App\Models\Branch;
|
||||
use App\Services\Meet\AuditLogger;
|
||||
use App\Services\Meet\MeetPermissions;
|
||||
use App\Services\Meet\SecurityPolicyService;
|
||||
@@ -23,14 +22,9 @@ class SettingsController extends Controller
|
||||
$organization = $this->organization($request);
|
||||
$canManage = app(MeetPermissions::class)->can($this->member($request), 'settings.manage');
|
||||
|
||||
$branchCount = Branch::owned($this->ownerRef($request))
|
||||
->where('organization_id', $organization->id)
|
||||
->count();
|
||||
|
||||
return view('meet.settings.edit', [
|
||||
'organization' => $organization,
|
||||
'canManage' => $canManage,
|
||||
'branchCount' => $branchCount,
|
||||
'isAdmin' => app(MeetPermissions::class)->isAdmin($this->member($request)),
|
||||
'orgTypes' => [
|
||||
'business' => 'Business',
|
||||
|
||||
Reference in New Issue
Block a user