@schandlergarcia/sf-web-components 1.2.17 → 1.2.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -264,6 +264,8 @@ import type { RouteObject } from 'react-router';
|
|
|
264
264
|
import Home from './pages/Home';
|
|
265
265
|
import NotFound from './pages/NotFound';
|
|
266
266
|
import AuthAppLayout from "./features/authentication/layouts/AuthAppLayout";
|
|
267
|
+
import AccountSearch from "./features/object-search/__examples__/pages/AccountSearch";
|
|
268
|
+
import AccountObjectDetail from "./features/object-search/__examples__/pages/AccountObjectDetailPage";
|
|
267
269
|
|
|
268
270
|
export const routes: RouteObject[] = [
|
|
269
271
|
{
|
|
@@ -273,7 +275,15 @@ export const routes: RouteObject[] = [
|
|
|
273
275
|
{
|
|
274
276
|
index: true,
|
|
275
277
|
element: <Home />,
|
|
276
|
-
handle: { showInNavigation: true, label: "Home" }
|
|
278
|
+
handle: { showInNavigation: true, showNavBar: true, label: "Home" }
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
path: "accounts",
|
|
282
|
+
element: <AccountSearch />
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
path: "accounts/:recordId",
|
|
286
|
+
element: <AccountObjectDetail />
|
|
277
287
|
},
|
|
278
288
|
{
|
|
279
289
|
path: '*',
|