From 2bd1e7a9d1ed948fb111de2880f64fd0ad5fdcac Mon Sep 17 00:00:00 2001 From: _Bastler Date: Fri, 5 Nov 2021 18:38:40 +0100 Subject: [PATCH] fix label --- src/app/services/i18n.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/services/i18n.service.ts b/src/app/services/i18n.service.ts index f2d9f45..cf58243 100644 --- a/src/app/services/i18n.service.ts +++ b/src/app/services/i18n.service.ts @@ -98,7 +98,7 @@ export class I18nService { insertArguments(label: string, args: string[]) { if (args) { for (let index in args) { - label = label.replace(`{${index}}`, this.get(args[ index ], [])); + label = label.replace(`{${index}}`, this.get(args[ index ], null)); } } return label;