mirror of
https://github.com/directus/directus.git
synced 2026-02-02 10:25:05 -05:00
Consistent repeater button
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
<div class="grid-element half">
|
||||
<p class="type-label">{{ $t('interfaces.repeater.add_label') }}</p>
|
||||
<v-input class="input" v-model="addLabel" :placeholder="$t('add_a_new_item')" />
|
||||
<v-input class="input" v-model="addLabel" :placeholder="$t('create_new')" />
|
||||
</div>
|
||||
|
||||
<div class="grid-element full">
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
</draggable>
|
||||
</v-list>
|
||||
<v-button @click="addNew" class="add-new" v-if="showAddNew">
|
||||
<v-icon name="add" />
|
||||
{{ addLabel }}
|
||||
</v-button>
|
||||
|
||||
@@ -76,7 +75,7 @@ export default defineComponent({
|
||||
},
|
||||
addLabel: {
|
||||
type: String,
|
||||
default: i18n.t('add_a_new_item'),
|
||||
default: i18n.t('create_new'),
|
||||
},
|
||||
limit: {
|
||||
type: Number,
|
||||
|
||||
@@ -357,7 +357,6 @@ users: Users
|
||||
activity: Activity
|
||||
webhooks: Webhooks
|
||||
field_width: Field Width
|
||||
add_a_new_item: Add a new item...
|
||||
add_filter: Add Filter
|
||||
upper_limit: Upper limit...
|
||||
lower_limit: Lower limit...
|
||||
|
||||
Reference in New Issue
Block a user