mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
chore: Makes the refresh button only appear when the filter has a dataset (#15194)
This commit is contained in:
parent
4289929745
commit
fc8ad4f984
@ -726,9 +726,11 @@ const FiltersConfigForm = (
|
|||||||
formData={newFormData}
|
formData={newFormData}
|
||||||
enableNoResults={enableNoResults}
|
enableNoResults={enableNoResults}
|
||||||
/>
|
/>
|
||||||
<Tooltip title={t('Refresh the default values')}>
|
{hasDataset && datasetId && (
|
||||||
<RefreshIcon onClick={() => refreshHandler(true)} />
|
<Tooltip title={t('Refresh the default values')}>
|
||||||
</Tooltip>
|
<RefreshIcon onClick={() => refreshHandler(true)} />
|
||||||
|
</Tooltip>
|
||||||
|
)}
|
||||||
</DefaultValueContainer>
|
</DefaultValueContainer>
|
||||||
) : (
|
) : (
|
||||||
t('Fill all required fields to enable "Default Value"')
|
t('Fill all required fields to enable "Default Value"')
|
||||||
|
Loading…
Reference in New Issue
Block a user