Add tabs to project map: Edit, Features, Inspections. Features and Inspections tabs show all items.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user