Skip to content

Commit 953f510

Browse files
committed
fix: i18n call
1 parent f2a5e9d commit 953f510

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

panel/src/components/Forms/Field/ModelsField.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
:value="searchterm"
3434
icon="search"
3535
type="text"
36-
class="k-models-section-search"
36+
class="k-models-field-search"
3737
@input="onSearch"
3838
@keydown.esc="onSearchToggle"
3939
/>

src/Form/Field/ModelsField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ public function columns(): array
275275
$column['label'] ??= Str::label($columnName);
276276

277277
// make sure to translate labels
278-
$column['label'] = $this->i18n($column['label'], $column['label']);
278+
$column['label'] = $this->i18n($column['label']);
279279

280280
// keep the original column name as id
281281
$column['id'] = $columnName;

0 commit comments

Comments
 (0)