- {terms && terms.length > 0 && !this.state.plantTexts && (
-
+
+ {terms && terms.length > 0 && this.pageInDefaultMode() && (
+
+
+
+
+ {terms.map(term => (
+ this.setState({ plantTerm: term })}>
+
+
+ ))}
+
+
+ )}
+
+ {this.state.plantTexts && (
+ <>
+
+
+ >
+ )}
+
+ {this.pageInDefaultMode() && !isEmptyObject(getGroupsForArchiving(groups, terms)) && (
-
-
- {terms.map(term => (
- this.setState({ plantTerm: term })}>
-
-
- ))}
-
-
- )}
-
- {this.state.plantTexts && (
-
-
-
-
- )}
+ )}
+ {this.state.archiving && (
+ <>
+
+
+ >
+ )}
+
>
@@ -408,7 +665,7 @@ class GroupsSuperadmin extends Component {
size="xl"
fullscreen="xl-down"
onHide={this.closeModalGroup}>
-