diff --git a/app/Livewire/Project/Shared/Tags.php b/app/Livewire/Project/Shared/Tags.php index fc17dcdf6..0977f18f8 100644 --- a/app/Livewire/Project/Shared/Tags.php +++ b/app/Livewire/Project/Shared/Tags.php @@ -54,6 +54,7 @@ class Tags extends Component public function refresh() { $this->resource->load(['tags']); + $this->tags = Tag::ownedByCurrentTeam()->get(); $this->new_tag = null; } public function submit() diff --git a/resources/views/livewire/project/shared/tags.blade.php b/resources/views/livewire/project/shared/tags.blade.php index 4cd3f9f3d..45e6131ab 100644 --- a/resources/views/livewire/project/shared/tags.blade.php +++ b/resources/views/livewire/project/shared/tags.blade.php @@ -24,7 +24,7 @@ @if ($tags->count() > 0)