diff --git a/admin/src/components/UserQuery.vue b/admin/src/components/UserQuery.vue index 8e28c1c0c..3827ef285 100644 --- a/admin/src/components/UserQuery.vue +++ b/admin/src/components/UserQuery.vue @@ -5,7 +5,7 @@ type="text" class="test-input-criteria" v-model="currentValue" - :placeholder="$t('user_memo_search')" + :placeholder="placeholderText" > @@ -20,12 +20,18 @@ export default { name: 'UserQuery', props: { value: { type: String, default: '' }, + placeholder: { type: String, default: '' }, }, data() { return { currentValue: this.value, } }, + computed: { + placeholderText() { + return this.placeholder || this.$t('user_search') + } + }, watch: { currentValue() { if (this.value !== this.currentValue) { diff --git a/admin/src/pages/CreationConfirm.vue b/admin/src/pages/CreationConfirm.vue index 34458e0aa..8ffbbaf9e 100644 --- a/admin/src/pages/CreationConfirm.vue +++ b/admin/src/pages/CreationConfirm.vue @@ -1,7 +1,7 @@