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/Monster.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/js/classes/Monster.js') diff --git a/resources/js/classes/Monster.js b/resources/js/classes/Monster.js index c058a75..2d34d8e 100644 --- a/resources/js/classes/Monster.js +++ b/resources/js/classes/Monster.js @@ -124,7 +124,7 @@ class Monster { } get name () { - return translate(this.slug) || slugToName(this.slug); + return translate(this.slug); } /** -- cgit v1.2.3