Add tabs to project map: Edit, Features, Inspections. Features and Inspections tabs show all items.

This commit is contained in:
2026-05-27 22:40:45 +02:00
parent cf3d32a6fa
commit 02e99329eb
2 changed files with 215 additions and 125 deletions
+8
View File
@@ -26,6 +26,11 @@ class ProjectMap extends Component
public $editResponsible = '';
public $editPhotos = [];
public $formFullscreen = false;
// Tab management
public $activeTab = 'edit'; // edit, features, inspections
public $allFeatures = [];
public $allInspections = [];
// Templates e inspecciones
public $templates = [];
@@ -37,6 +42,9 @@ class ProjectMap extends Component
public $showFeatureImages = false;
public $featureImageMarkers = [];
// Tab management
public $activeTab = 'edit'; // edit or list
public function mount(Project $project)
{
$this->project = $project;