Przeglądaj źródła

Merge pull request #193 from andrewdwallo/revert-190-development-3.x

Revert #190
3.x
Andrew Wallo 10 miesięcy temu
rodzic
commit
90bcdf0f77
No account linked to committer's email address

+ 1
- 5
app/Http/Middleware/ConfigureCurrentCompany.php Wyświetl plik

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);

Ładowanie…
Anuluj
Zapisz