Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapting datastructure of horde-variable for topbar of react #1

Open
boekhorstb1 opened this issue Nov 19, 2021 · 0 comments
Open

Adapting datastructure of horde-variable for topbar of react #1

boekhorstb1 opened this issue Nov 19, 2021 · 0 comments
Assignees

Comments

@boekhorstb1
Copy link

It might be a good idea, to adapt the horde_variable that is send to the fronted. One could send an extra entry called "active" with a boolean as value. If for example active: false would be in the horde variable, then Reactfrontend knows that it should not show part of the object in the menu.

Example of Horde-variable datastructure:

  {
    entryId: "horde-component",
    type: "entry",
    parent: "",
    caption: "horde-component",
    action: "router",
    targetUrl: "/subpage1",
    icon: "",
    active: "false"   # Here one could add the active entry
  },

This could be practical, because there are entries in the Horde menu-tree-object, such as "horde- components", which should not be displayed in the menu. The Horde Treeobject has an enty "active = false" to help with this.

@b1-luettje b1-luettje self-assigned this Nov 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants