Sha256: 23bae09254c99aa60c425bad1523a48c4fa228a37ca408a0771a163eeb9a99d7

Contents?: true

Size: 195 Bytes

Versions: 179

Compression:

Stored size: 195 Bytes

Contents

export const mapTables = (tables) => {
  const tableObject = {};
  tables.forEach((element) => {
    tableObject[element.name] = element;
  });
  return tableObject;
};
export default mapTables;

Version data entries

179 entries across 179 versions & 1 rubygems

Version Path
katello-3.12.1 webpack/scenes/Settings/Tables/TableHelpers.js
katello-3.11.2 webpack/scenes/Settings/Tables/TableHelpers.js
katello-3.10.2 webpack/scenes/Settings/Tables/TableHelpers.js
katello-3.12.0 webpack/scenes/Settings/Tables/TableHelpers.js
katello-3.12.0.rc2 webpack/scenes/Settings/Tables/TableHelpers.js
katello-3.10.1.1 webpack/scenes/Settings/Tables/TableHelpers.js
katello-3.12.0.rc1 webpack/scenes/Settings/Tables/TableHelpers.js
katello-3.10.1 webpack/scenes/Settings/Tables/TableHelpers.js
katello-3.11.1 webpack/scenes/Settings/Tables/TableHelpers.js
katello-3.11.0 webpack/scenes/Settings/Tables/TableHelpers.js
katello-3.11.0.rc2 webpack/scenes/Settings/Tables/TableHelpers.js
katello-3.11.0.rc1 webpack/scenes/Settings/Tables/TableHelpers.js
katello-3.10.0 webpack/scenes/Settings/Tables/TableHelpers.js
katello-3.10.0.rc1.1 webpack/scenes/Settings/Tables/TableHelpers.js
katello-3.9.1 webpack/scenes/Settings/Tables/TableHelpers.js
katello-3.10.0.rc1 webpack/scenes/Settings/Tables/TableHelpers.js
katello-3.9.0 webpack/scenes/Settings/Tables/TableHelpers.js
katello-3.9.0.rc2 webpack/scenes/Settings/Tables/TableHelpers.js
katello-3.9.0.rc1 webpack/scenes/Settings/Tables/TableHelpers.js