Skip to content
Snippets Groups Projects
Commit bb702988 authored by Kyle Doherty's avatar Kyle Doherty
Browse files

fix empty states

parent 8569f684
Branches
Tags
No related merge requests found
......@@ -82,9 +82,13 @@ export default class EntityList extends Component {
emptyState () {
switch (this.props.name) {
case 'All questions':
return 'No questions have been saved yet.'
return {
icon: '',
message: 'No questions have been saved yet.'
}
case 'Recently viewed':
return {
icon: 'recents',
message: 'You haven\'t viewed any questions recently.'
}
case 'Saved by me':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment