I had created a custom action button, except (edit, delete).
I am not redirecting to the link on first click, I have to click it twice to visit the attached url.
$actions['createUser'] = [
'href' => url('/bt_users/' . $bitrixtelephony->hashed_id . '/createUser'),
'label' => trans('Create User'),
'data' => [
'action' => 'createUser',
],
];
This is the code I wrote.
Please login or Register to submit your answer