webpack/scenes/Settings/SettingsSelectors.js in katello-4.8.0.rc2 vs webpack/scenes/Settings/SettingsSelectors.js in katello-4.8.0
- old
+ new
@@ -1,4 +1,4 @@
-export const selectSettings = state => state.katello.settings.settings;
+export const selectSettings = state => state.katello.settings?.settings;
export const selectTableSettings = (state, tableName) =>
- state.katello.settings.tables[tableName] || undefined;
+ state.katello.settings?.tables[tableName] || undefined;