fix: tags

This commit is contained in:
Andras Bacsai
2024-02-03 12:39:07 +01:00
parent bc31df6fb2
commit 0b5baf60a5
9 changed files with 70 additions and 40 deletions

View File

@@ -216,6 +216,9 @@ class Application extends BaseModel
{
return $this->morphToMany(Tag::class, 'taggable');
}
public function project() {
return data_get($this, 'environment.project');
}
public function team()
{
return data_get($this, 'environment.project.team');