Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-14463

Adjust SPA-SDK to take 'hidden' meta field of a component into account

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Duplicate
    • None
    • None
    • None
    • None
    • Quasar
    • Puma Sprint 254

    Description

      Currently, the SPA does this:

        isHidden() {
          return this.model.meta.params?.[PARAMETER_HIDDEN] === 'on';
        }
      

      However the PMA sends hidden as follows:

      "meta" : {
        "hidden" : true
        "paramsInfo" : {
          "header" : "Yes My Header"
        },
        "params" : { }
      }
      

      So the SPA should be adjusted to take this into account

      Attachments

        Issue Links

          Activity

            People

              jdegooijer Joeri de Gooijer
              aschrijvers Ard Schrijvers
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: