diff --git a/app/Http/Controllers/LinkTypeViewController.php b/app/Http/Controllers/LinkTypeViewController.php index eaa4381..799518b 100644 --- a/app/Http/Controllers/LinkTypeViewController.php +++ b/app/Http/Controllers/LinkTypeViewController.php @@ -31,6 +31,7 @@ class LinkTypeViewController extends Controller $data['params'] = json_decode($link['type_params']); $data['link_title'] = $link->title; $data['link_url'] = $link->link; + $data['button_id'] = $link->button_id; } if (!empty($linkType) && $linkType->typename === 'predefined') { diff --git a/resources/views/components/pageitems/link-form.blade.php b/resources/views/components/pageitems/link-form.blade.php index 2f5ee82..f2703cb 100644 --- a/resources/views/components/pageitems/link-form.blade.php +++ b/resources/views/components/pageitems/link-form.blade.php @@ -5,7 +5,7 @@