From be1d3f6da46c64016ea3a19f94ccf799dfa7e98a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Sat, 10 Apr 2021 15:36:02 +0200 Subject: [PATCH] Add default case --- web/frontend/src/components/StatsPie.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/frontend/src/components/StatsPie.vue b/web/frontend/src/components/StatsPie.vue index 73149ae..7df60b0 100644 --- a/web/frontend/src/components/StatsPie.vue +++ b/web/frontend/src/components/StatsPie.vue @@ -39,6 +39,9 @@ export default class StatsPie extends Vue { return 'Top 10 Countries'; case 'total': return 'Totals'; + // Why doesn't eslint know that this switch is exhaustive? + default: + return 'Top 10 Passwords'; } }