mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
re-enabled foldout menu for example pages
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
parent
e654af383b
commit
a0e058e9c0
@ -72,14 +72,14 @@ export default class ExampleExtension extends LensRendererExtension {
|
|||||||
|
|
||||||
clusterPageMenus: Interface.ClusterPageMenuRegistration[] = [
|
clusterPageMenus: Interface.ClusterPageMenuRegistration[] = [
|
||||||
{
|
{
|
||||||
// id: "top-example-menu",
|
id: "top-example-menu",
|
||||||
title: "Example extension",
|
title: "Example extension",
|
||||||
components: {
|
components: {
|
||||||
Icon: ExampleIcon,
|
Icon: ExampleIcon,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// parentId: "top-example-menu",
|
parentId: "top-example-menu",
|
||||||
title: "Simple Page",
|
title: "Simple Page",
|
||||||
target: {
|
target: {
|
||||||
pageId: "simple-page"
|
pageId: "simple-page"
|
||||||
@ -89,7 +89,7 @@ export default class ExampleExtension extends LensRendererExtension {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// parentId: "top-example-menu",
|
parentId: "top-example-menu",
|
||||||
title: "Simple Params",
|
title: "Simple Params",
|
||||||
target: {
|
target: {
|
||||||
pageId: "page-with-simple-params",
|
pageId: "page-with-simple-params",
|
||||||
@ -103,7 +103,7 @@ export default class ExampleExtension extends LensRendererExtension {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// parentId: "top-example-menu",
|
parentId: "top-example-menu",
|
||||||
title: "Non-String Params",
|
title: "Non-String Params",
|
||||||
target: {
|
target: {
|
||||||
pageId: "page-with-non-string-params",
|
pageId: "page-with-non-string-params",
|
||||||
@ -117,7 +117,7 @@ export default class ExampleExtension extends LensRendererExtension {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// parentId: "top-example-menu",
|
parentId: "top-example-menu",
|
||||||
title: "Complicated Params",
|
title: "Complicated Params",
|
||||||
target: {
|
target: {
|
||||||
pageId: "page-with-complicated-params"
|
pageId: "page-with-complicated-params"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user