feat(native-filters): add support for preselect filters (#15427)

* feat(native-filters): add support for sharing preselected filters

* abc

* add serialization
This commit is contained in:
Ville Brofeldt
2021-06-29 18:57:49 +03:00
committed by GitHub
parent ab7f31fd85
commit 4630abb5a8
17 changed files with 199 additions and 41 deletions

View File

@@ -80,11 +80,11 @@ class AnchorLink extends React.PureComponent {
<span className="anchor-link-container" id={anchorLinkId}>
{showShortLinkButton && (
<URLShortLinkButton
url={getDashboardUrl(
window.location.pathname,
url={getDashboardUrl({
pathname: window.location.pathname,
filters,
anchorLinkId,
)}
hash: anchorLinkId,
})}
emailSubject={t('Superset chart')}
emailContent={t('Check out this chart in dashboard:')}
placement={placement}