Use the action definded in DAO for Mapping
authorPradeep Nayak <pradpnayak@gmail.com>
Wed, 6 Dec 2023 00:25:02 +0000 (00:25 +0000)
committerPradeep Nayak <pradpnayak@gmail.com>
Wed, 6 Dec 2023 00:25:02 +0000 (00:25 +0000)
ext/civicrm_admin_ui/managed/SavedSearch_Import_Export_Mappings.mgd.php

index df915b5b7f94079145b72a693901428efd86b9f4..88eea065fe59685d561c35c94fc3948557d7ad89 100644 (file)
@@ -102,14 +102,14 @@ return [
               'icon' => 'fa-bars',
               'links' => [
                 [
-                  'path' => 'civicrm/admin/mapping?action=update&reset=1&id=[id]',
-                  'icon' => 'fa-external-link',
+                  'path' => '',
+                  'icon' => 'fa-pencil',
                   'text' => E::ts('Edit'),
                   'style' => 'default',
                   'condition' => [],
                   'task' => '',
-                  'entity' => '',
-                  'action' => '',
+                  'entity' => 'Mapping',
+                  'action' => 'update',
                   'join' => '',
                   'target' => 'crm-popup',
                 ],