fix: correcciones parciales - ProjectController, ProfileController, Phase features, project-map JS
This commit is contained in:
@@ -30,4 +30,12 @@ class Phase extends Model
|
||||
{
|
||||
return $this->hasOne(Layer::class)->latestOfMany();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all features across all layers of this phase.
|
||||
*/
|
||||
public function features()
|
||||
{
|
||||
return $this->hasManyThrough(Feature::class, Layer::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user