@@ -103,7 +103,7 @@ public function deleteFromSharpList(string $entityClassNameOrKey, mixed $instanc
103103 ->withHeader (
104104 SharpBreadcrumb::CURRENT_PAGE_URL_HEADER ,
105105 $ this ->buildCurrentPageUrl (
106- $ this ->breadcrumbBuilder ($ entityKey )
106+ $ this ->breadcrumbBuilder ($ entityKey )-> generateUri ()
107107 ),
108108 )
109109 ->delete (
@@ -253,7 +253,7 @@ public function callSharpInstanceCommandFromList(
253253 ->withHeader (
254254 SharpBreadcrumb::CURRENT_PAGE_URL_HEADER ,
255255 $ this ->buildCurrentPageUrl (
256- $ this ->breadcrumbBuilder ($ entityKey )
256+ $ this ->breadcrumbBuilder ($ entityKey )-> generateUri ()
257257 ),
258258 )
259259 ->postJson (
@@ -284,7 +284,7 @@ public function callSharpInstanceCommandFromShow(
284284 ->withHeader (
285285 SharpBreadcrumb::CURRENT_PAGE_URL_HEADER ,
286286 $ this ->buildCurrentPageUrl (
287- $ this ->breadcrumbBuilder ($ entityKey , $ instanceId )
287+ $ this ->breadcrumbBuilder ($ entityKey , $ instanceId )-> generateUri ()
288288 ),
289289 )
290290 ->postJson (
@@ -313,7 +313,7 @@ public function callSharpEntityCommandFromList(
313313 return $ this
314314 ->withHeader (
315315 SharpBreadcrumb::CURRENT_PAGE_URL_HEADER ,
316- $ this ->buildCurrentPageUrl ($ this ->breadcrumbBuilder ($ entityKey ))
316+ $ this ->buildCurrentPageUrl ($ this ->breadcrumbBuilder ($ entityKey )-> generateUri () )
317317 )
318318 ->postJson (
319319 route ('code16.sharp.api.list.command.entity ' , compact ('entityKey ' , 'commandKey ' )),
0 commit comments