From 1d29ee6d87d3794a9319bca5bf36afdfe176072c Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Fri, 1 Sep 2023 22:32:45 +0200 Subject: translations with fallback --- resources/js/classes/Area.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/js/classes/Area.js') diff --git a/resources/js/classes/Area.js b/resources/js/classes/Area.js index bafa949..1b07e35 100644 --- a/resources/js/classes/Area.js +++ b/resources/js/classes/Area.js @@ -9,7 +9,7 @@ class Area { } get name () { - return translate(this.alternateSlug) || slugToName(this.slug); + return translate(this.alternateSlug); } get isCompleted () { -- cgit v1.2.3