Skip to content

Commit

Permalink
Remove "Not Implemented" briefly appearing when switching settings
Browse files Browse the repository at this point in the history
  • Loading branch information
kprist committed Oct 25, 2018
1 parent 477f34c commit 7b20f01
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
13 changes: 0 additions & 13 deletions components/User/UserProfile/UserProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,16 +102,12 @@ class UserProfile extends React.Component {
case categories.settings[2]:
return this.displayIntegrations();
break;
default:
return this.notImplemented();
}});
case categories.categories[1]:
return this.addScaffold(() => {switch(this.props.UserProfileStore.categoryItem){
case categories.groups[0]:
return this.displayGroups();
break;
default:
return this.notImplemented();
}});
case 'stats':
return this.addScaffold(() => this.displayUserStats());
Expand Down Expand Up @@ -247,15 +243,6 @@ class UserProfile extends React.Component {
return (<UserStats userStats={this.props.UserStatsStore} />);
}

notImplemented() {
return (<h3>
<FormattedMessage
id='UserProfile.notImplemented'
defaultMessage='This feature is curently not implemented. Please wait for future releases of SlideWiki'
/>
</h3>);
}

render() {
return (this.chooseView());
}
Expand Down
1 change: 0 additions & 1 deletion intl/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -1216,7 +1216,6 @@
"UserProfile.alterData": "Alter my personal data",
"UserProfile.changePassword": "Change password",
"UserProfile.deactivateAccount": "Deactivate Account",
"UserProfile.notImplemented": "This feature is curently not implemented. Please wait for future releases of SlideWiki",
"Stats.tagCloudTitle": "Popular Tags",
"UserRegistration.firstName_prompt": "Please enter your first name",
"UserRegistration.lastName_prompt": "Please enter your last name",
Expand Down
1 change: 0 additions & 1 deletion intl/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1216,7 +1216,6 @@
"UserProfile.alterData": "Alter my personal data",
"UserProfile.changePassword": "Change password",
"UserProfile.deactivateAccount": "Deactivate Account",
"UserProfile.notImplemented": "This feature is curently not implemented. Please wait for future releases of SlideWiki",
"Stats.tagCloudTitle": "Popular Tags",
"UserRegistration.firstName_prompt": "Please enter your first name",
"UserRegistration.lastName_prompt": "Please enter your last name",
Expand Down

0 comments on commit 7b20f01

Please sign in to comment.