diff --git a/app/View/Components/Bookmark.php b/app/View/Components/Bookmark.php index 271cea1..1f8e74d 100644 --- a/app/View/Components/Bookmark.php +++ b/app/View/Components/Bookmark.php @@ -13,7 +13,9 @@ class Bookmark extends Component * Create a new component instance. */ public function __construct( - public ModelsBookmark $bookmark + public ModelsBookmark $bookmark, + public bool $showPermalink = true, + public bool $showEdit = true, ) { // } diff --git a/resources/views/bookmarks/show.blade.php b/resources/views/bookmarks/show.blade.php index d2e1359..27ca5b8 100644 --- a/resources/views/bookmarks/show.blade.php +++ b/resources/views/bookmarks/show.blade.php @@ -4,7 +4,7 @@
-