@plusscommunities/pluss-feature-builder-web-d 1.0.2-beta.7 → 1.0.2-beta.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -131,14 +131,9 @@ export const selectDefinitionMode = (state) => {
131
131
 
132
132
  // Check if we have a definition loaded or if we've determined the mode
133
133
  // This is used by hiddenFromFeaturePicker to determine if feature should be shown
134
- // When mode is "create", definition is null but we've determined the feature doesn't exist
135
- // When mode is "edit", definition exists and we've determined the feature exists
136
134
  export const selectHasDefinition = (state) => {
137
135
  const definition = selectDefinition(state);
138
- const mode = selectDefinitionMode(state);
139
- // Consider feature "loaded" if definition exists OR mode is set
140
- // Mode being set means we've successfully fetched and determined the state
141
- return !!definition || !!mode;
136
+ return !!definition;
142
137
  };
143
138
 
144
139
  // ============ LISTINGS SELECTORS ============