mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Remove "Other locations" layer from dashboard.
This commit is contained in:
parent
fe95745153
commit
ce2a6304c8
1 changed files with 0 additions and 14 deletions
|
@ -106,20 +106,6 @@ class MapRenderEventSubscriber implements EventSubscriberInterface {
|
|||
}
|
||||
}
|
||||
|
||||
// Add other locations layer to the dashboard.
|
||||
// @todo Limit this layer to only the non-location asset types.
|
||||
// The current view doesn't allow the "type" filter to override the
|
||||
// contextual filter that defaults to "all" asset types.
|
||||
$layers['other_locations'] = [
|
||||
'group' => $group,
|
||||
'label' => $this->t('Other locations'),
|
||||
'filters' => [
|
||||
'is_location' => 1,
|
||||
],
|
||||
'color' => 'grey',
|
||||
'zoom' => TRUE,
|
||||
];
|
||||
|
||||
// Add the asset_type_layers behavior.
|
||||
$event->addBehavior('asset_type_layers');
|
||||
|
||||
|
|
Loading…
Reference in a new issue