+
+ {savedQueryPopoverTitleText}
+
+ {savedQueries.length > 0 ? (
+
+
+ {savedQueryDescriptionText}
+
+
+
+ {savedQueryRows()}
+
+
+
+
+ ) : (
+
+
+ {noSavedQueriesDescriptionText}
+
+
+
+ )}
+
+
-
- {savedQueryPopoverTitleText}
-
- {savedQueries.length > 0 ? (
+ {showSaveQuery && loadedSavedQuery && (
-
- {savedQueryDescriptionText}
-
-
-
+
- {savedQueryRows()}
-
-
-
-
- ) : (
-
-
- {noSavedQueriesDescriptionText}
-
-
+ {i18n.translate('data.search.searchBar.savedQueryPopoverSaveChangesButtonText', {
+ defaultMessage: 'Save changes',
+ })}
+
+
+
+
+ {i18n.translate('data.search.searchBar.savedQueryPopoverSaveAsNewButtonText', {
+ defaultMessage: 'Save as new',
+ })}
+
+
)}
-
-
- {showSaveQuery && loadedSavedQuery && (
-
-
-
- {i18n.translate(
- 'data.search.searchBar.savedQueryPopoverSaveChangesButtonText',
- {
- defaultMessage: 'Save changes',
- }
- )}
-
-
-
-
- {i18n.translate(
- 'data.search.searchBar.savedQueryPopoverSaveAsNewButtonText',
- {
- defaultMessage: 'Save as new',
- }
- )}
-
-
-
- )}
- {showSaveQuery && !loadedSavedQuery && (
-
-
- {i18n.translate('data.search.searchBar.savedQueryPopoverSaveButtonText', {
- defaultMessage: 'Save current query',
- })}
-
-
- )}
-
-
- {loadedSavedQuery && (
-
- {i18n.translate('data.search.searchBar.savedQueryPopoverClearButtonText', {
- defaultMessage: 'Clear',
- })}
-
+ {showSaveQuery && !loadedSavedQuery && (
+
+
-
-
-
-