mirror of
https://github.com/apache/superset.git
synced 2026-05-09 18:05:52 +00:00
fix(chart): set tab name as chart name (#33694)
Co-authored-by: Phuc Hung Nguyen <phucnguyen@geotab.com>
This commit is contained in:
@@ -269,6 +269,15 @@ function ExploreViewContainer(props) {
|
||||
|
||||
const theme = useTheme();
|
||||
|
||||
useEffect(() => {
|
||||
if (props.sliceName) {
|
||||
document.title = props.sliceName;
|
||||
}
|
||||
return () => {
|
||||
document.title = 'Superset';
|
||||
};
|
||||
}, [props.sliceName]);
|
||||
|
||||
const addHistory = useCallback(
|
||||
async ({ isReplace = false, title } = {}) => {
|
||||
const formData = props.dashboardId
|
||||
|
||||
Reference in New Issue
Block a user