Skip to content

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

@boekhorstb1

Description

@boekhorstb1

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions