Add default case
This commit is contained in:
parent
bdfed66505
commit
be1d3f6da4
@ -39,6 +39,9 @@ export default class StatsPie extends Vue {
|
|||||||
return 'Top 10 Countries';
|
return 'Top 10 Countries';
|
||||||
case 'total':
|
case 'total':
|
||||||
return 'Totals';
|
return 'Totals';
|
||||||
|
// Why doesn't eslint know that this switch is exhaustive?
|
||||||
|
default:
|
||||||
|
return 'Top 10 Passwords';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user