Merge remote-tracking branch 'origin/next' into feat/railpack

This commit is contained in:
Andras Bacsai committed 2026-03-25 16:45:30 +01:00
commit 207002dbb7
45 files changed
+1572 -272

No files matched your search

+12 -1
View File
@@ -55,7 +55,18 @@ class ActivityMonitor extends Component
return;
}
$this->activity = Activity::find($this->activityId);
$activity = Activity::find($this->activityId);
if ($activity) {
$teamId = data_get($activity, 'properties.team_id');
if ($teamId && $teamId !== currentTeam()?->id) {
$this->activity = null;
return;
}
}
$this->activity = $activity;
}
public function updatedActivityId($value)
@@ -11,6 +11,12 @@ class PricingPlans extends Component
{
public function subscribeStripe($type)
{
if (currentTeam()->subscription?->stripe_invoice_paid) {
$this->dispatch('error', 'Team already has an active subscription.');
return;
}
Stripe::setApiKey(config('subscription.stripe_api_key'));
$priceId = match ($type) {