mirror of
https://github.com/directus/directus.git
synced 2026-01-24 08:18:15 -05:00
Fix reactivity of new-collection action buttons
This commit is contained in:
@@ -101,26 +101,29 @@
|
||||
</v-tabs-items>
|
||||
|
||||
<template #actions>
|
||||
<v-button
|
||||
:disabled="!collectionName || collectionName.length === 0"
|
||||
v-if="currentTab[0] === 'collection_setup'"
|
||||
@click="currentTab = ['optional_system_fields']"
|
||||
v-tooltip.bottom="$t('next')"
|
||||
icon
|
||||
rounded
|
||||
>
|
||||
<v-icon name="arrow_forward" />
|
||||
</v-button>
|
||||
<v-button
|
||||
v-if="currentTab[0] === 'optional_system_fields'"
|
||||
@click="save"
|
||||
:loading="saving"
|
||||
v-tooltip.bottom="$t('finish_setup')"
|
||||
icon
|
||||
rounded
|
||||
>
|
||||
<v-icon name="check" />
|
||||
</v-button>
|
||||
<div>
|
||||
<v-button
|
||||
:disabled="!collectionName || collectionName.length === 0"
|
||||
v-if="currentTab[0] === 'collection_setup'"
|
||||
@click="currentTab = ['optional_system_fields']"
|
||||
v-tooltip.bottom="$t('next')"
|
||||
icon
|
||||
rounded
|
||||
>
|
||||
<v-icon name="arrow_forward" />
|
||||
</v-button>
|
||||
|
||||
<v-button
|
||||
v-if="currentTab[0] === 'optional_system_fields'"
|
||||
@click="save"
|
||||
:loading="saving"
|
||||
v-tooltip.bottom="$t('finish_setup')"
|
||||
icon
|
||||
rounded
|
||||
>
|
||||
<v-icon name="check" />
|
||||
</v-button>
|
||||
</div>
|
||||
</template>
|
||||
</v-drawer>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user