Change reference for slices to chart (#4049)

* change reference for slices to chart

* change profile page reference

* change reference for Associated Slices

* change back to single quotes

* fix other single quotes

* linting

* last one

* fix test
This commit is contained in:
Hugh A. Miles II
2017-12-12 18:02:17 -08:00
committed by Maxime Beauchemin
parent 7d374428d3
commit c84211ec44
6 changed files with 16 additions and 16 deletions

View File

@@ -29,9 +29,9 @@ export default class Favorites extends React.PureComponent {
<TableLoader
dataEndpoint={`/superset/fave_slices/${this.props.user.userId}/`}
className="table table-condensed"
columns={['slice', 'creator', 'favorited']}
columns={['chart', 'creator', 'favorited']}
mutator={mutator}
noDataText={t('No favorite slices yet, go click on stars!')}
noDataText={t('No favorite charts yet, go click on stars!')}
sortable
/>
);
@@ -59,7 +59,7 @@ export default class Favorites extends React.PureComponent {
<h3>{t('Dashboards')}</h3>
{this.renderDashboardTable()}
<hr />
<h3>{t('Slices')}</h3>
<h3>{t('Charts')}</h3>
{this.renderSliceTable()}
</div>
);