Browse Source

Revert "Development 3.x"

3.x
Andrew Wallo 8 months ago
parent
commit
3af2c622d2
No account linked to committer's email address
1 changed files with 1 additions and 5 deletions
  1. 1
    5
      app/Http/Middleware/ConfigureCurrentCompany.php

+ 1
- 5
app/Http/Middleware/ConfigureCurrentCompany.php View File

22
         $company = Filament::getTenant();
22
         $company = Filament::getTenant();
23
 
23
 
24
         if ($company) {
24
         if ($company) {
25
-            $currentCompanyId = session('current_company_id');
26
-
27
-            if ($currentCompanyId !== $company->id) {
28
-                CompanyConfigured::dispatch($company);
29
-            }
25
+            CompanyConfigured::dispatch($company);
30
         }
26
         }
31
 
27
 
32
         return $next($request);
28
         return $next($request);

Loading…
Cancel
Save