aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision/html
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/html')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/html/Template.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/html/Template.kt b/src/main/kotlin/pl/treksoft/kvision/html/Template.kt
index 9a52eb5b..1f377406 100644
--- a/src/main/kotlin/pl/treksoft/kvision/html/Template.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/html/Template.kt
@@ -47,6 +47,6 @@ interface Template {
set(value) {
if (!rich) rich = true
templateDataObj = value
- content = template?.invoke(value) ?: templates.get(I18n.language)?.invoke(value)
+ content = template?.invoke(value) ?: templates[I18n.language]?.invoke(value)
}
}