Skip to content

Commit

Permalink
Removing [dashboard] and [slice] titles to show name
Browse files Browse the repository at this point in the history
  • Loading branch information
michellethomas committed Mar 8, 2018
1 parent 42ebcaa commit 402c7dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/views/core.py
Expand Up @@ -1297,7 +1297,7 @@ def explore(self, datasource_type=None, datasource_id=None):
if datasource_type == 'table' \
else datasource.datasource_name
if slc:
title = '[slice] ' + slc.slice_name
title = slc.slice_name
else:
title = '[explore] ' + table_name
return self.render_template(
Expand Down Expand Up @@ -2064,7 +2064,7 @@ def dashboard(**kwargs): # noqa
'superset/dashboard.html',
entry='dashboard',
standalone_mode=standalone_mode,
title='[dashboard] ' + dash.dashboard_title,
title=dash.dashboard_title,
bootstrap_data=json.dumps(bootstrap_data),
)

Expand Down

0 comments on commit 402c7dd

Please sign in to comment.