Skip to content

Commit fff7b93

Browse files
committed
Fix text error in console
1 parent 7f65035 commit fff7b93

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/app/components/preferences/preferences.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ <h3 class="s-12">{{ 'preferences.other.title' | transloco }}</h3>
133133
overlay
134134
nativeKeyboard
135135
><ng-template #templatesModes let-label="label">
136-
{{ 'mode.name.' + label | transloco }}
136+
{{ 'mode.name.' + (label || 'default') | transloco }}
137137
</ng-template>
138138
</mg-input-select>
139139
</mg-input>

src/app/content/classement/classement-options.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ <h3>{{ 'generator.options.group.title' | transloco }}</h3>
132132
{{ 'generator.actions.change.mode.question' | transloco }}
133133
</p>
134134
<p class="info">
135-
<strong>{{ 'mode.name.' + _modeTemp | transloco }}</strong>
136-
<span>{{ 'generator.actions.change.mode.' + _modeTemp | transloco }}</span>
135+
<strong>{{ 'mode.name.' + (_modeTemp || 'default') | transloco }}</strong>
136+
<span>{{ 'generator.actions.change.mode.' + (_modeTemp || 'default') | transloco }}</span>
137137
</p>
138138

139139
<div class="buttons">

0 commit comments

Comments
 (0)