Merge remote-tracking branch 'origin/next' into feat/hetzner-firewalls-and-internal-networks

This commit is contained in:
Andras Bacsai committed 2026-07-07 14:37:54 +02:00
commit c9ffa0db96
13 files changed
+2577 -15

No files matched your search

+1 -3
View File
@@ -91,9 +91,7 @@ class Tags extends Component
$this->authorize('update', $this->resource);
$this->resource->tags()->detach($id);
$found_more_tags = Tag::ownedByCurrentTeam()->find($id);
if ($found_more_tags && $found_more_tags->applications()->count() == 0 && $found_more_tags->services()->count() == 0) {
$found_more_tags->delete();
}
$found_more_tags?->deleteIfOrphaned();
$this->refresh();
$this->dispatch('success', 'Tag deleted.');
} catch (\Exception $e) {