Skip to content

Commit

Permalink
fix: solve problems after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardo committed Nov 21, 2019
1 parent f14aad3 commit df7e3f5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
7 changes: 2 additions & 5 deletions packages/app/i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2019-11-15T12:12:19.215Z\n"
"PO-Revision-Date: 2019-11-15T12:12:19.215Z\n"
"POT-Creation-Date: 2019-11-21T10:34:34.957Z\n"
"PO-Revision-Date: 2019-11-21T10:34:34.957Z\n"

msgid "Rename successful"
msgstr ""
Expand Down Expand Up @@ -297,9 +297,6 @@ msgstr ""
msgid "Chart options"
msgstr ""

msgid "Pivot table"
msgstr ""

msgid "Open as Map"
msgstr ""

Expand Down
4 changes: 2 additions & 2 deletions packages/app/src/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { sGetUiType } from '../reducers/ui';
import * as fromActions from '../actions';
import history from '../modules/history';
import defaultMetadata from '../modules/metadata';
import { PIVOT_TABLE } from '../modules/chartTypes';
import { VIS_TYPE_PIVOT_TABLE } from '@dhis2/analytics';
import {
apiFetchAOFromUserDataStore,
CURRENT_AO_KEY,
Expand Down Expand Up @@ -209,7 +209,7 @@ export class App extends Component {

const apiObjectSelector = createSelector(
[sGetUiType],
type => (type === PIVOT_TABLE ? 'reportTable' : 'chart')
type => (type === VIS_TYPE_PIVOT_TABLE ? 'reportTable' : 'chart')
);

const mapStateToProps = state => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const MenuItemIcon = ({ iconType, style }) => {
return <PivotTableIcon style={style} />;
case VIS_TYPE_COLUMN:
default:
return <LineIcon style={style} />;
return <ColumnIcon style={style} />;
}
};

Expand Down

0 comments on commit df7e3f5

Please sign in to comment.