mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
refactor: now always show feedback button for search page (#5765)
This commit is contained in:
parent
182901aab6
commit
77074a26de
@ -71,10 +71,7 @@ const feedbackCategory = 'search';
|
||||
|
||||
const FeatureToggleListTableComponent: VFC = () => {
|
||||
const theme = useTheme();
|
||||
const { openFeedback, hasSubmittedFeedback } = useFeedback(
|
||||
feedbackCategory,
|
||||
'automatic',
|
||||
);
|
||||
const { openFeedback } = useFeedback(feedbackCategory, 'automatic');
|
||||
const { trackEvent } = usePlausibleTracker();
|
||||
const { environments } = useEnvironments();
|
||||
const enabledEnvironments = environments
|
||||
@ -326,10 +323,7 @@ const FeatureToggleListTableComponent: VFC = () => {
|
||||
onExportClick={() => setShowExportDialog(true)}
|
||||
/>
|
||||
<ConditionallyRender
|
||||
condition={
|
||||
!hasSubmittedFeedback &&
|
||||
featureSearchFeedback
|
||||
}
|
||||
condition={featureSearchFeedback}
|
||||
show={
|
||||
<Tooltip title='Provide feedback' arrow>
|
||||
<IconButton
|
||||
|
Loading…
Reference in New Issue
Block a user