Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-49702

JTable produces a console warning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • blueocean-plugin
    • None
    • Blue Ocean 1.5 - beta 2

      https://github.com/jenkinsci/blueocean-plugin/blob/b16ea72cc449c44478e696930c1a078bff727906/jenkins-design-language/src/js/components/jtable/JTable.jsx#L136

      is causing:

      Warning: Unknown prop `columns` on <div> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
          in div (created by JTable)
          in JTable (created by PlaceholderTable)
          in div (created by PlaceholderTable)
          in PlaceholderTable (created by DashboardPlaceholder)
          in div (created by DashboardPlaceholder)
          in DashboardPlaceholder (created by CJOCTeams)
          in article (created by CJOCPage)
          in main (created by CJOCPage)
          in div (created by Page)
          in Page (created by CJOCPage)
          in CJOCPage (created by CJOCTeams)
          in CJOCTeams (created by CJOCTeamsWrapper)
          in div (created by CJOCTeamsWrapper)
          in CJOCTeamsWrapper (created by Unknown)
          in Unknown
      

      Testing notes:

      Needs manual testing on e.g. storybook jtable story and see whether the above error is not present anymore.

            tscherler Thorsten Scherler
            tscherler Thorsten Scherler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: