mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Add correct form layout to webhooks
This commit is contained in:
@@ -2,7 +2,7 @@ import { defineInterface } from '@/interfaces/define';
|
||||
import InterfaceCollection from './collection.vue';
|
||||
|
||||
export default defineInterface(({ i18n }) => ({
|
||||
id: 'collections',
|
||||
id: 'collection',
|
||||
name: i18n.t('interfaces.collection.collection'),
|
||||
description: i18n.t('interfaces.collection.description'),
|
||||
icon: 'featured_play_list',
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
<template>
|
||||
<interface-checkboxes :choices="items" @input="$listeners.input" :value="value" :disabled="disabled" />
|
||||
<v-notice v-if="items.length === 0">
|
||||
{{ $t('no_collections') }}
|
||||
</v-notice>
|
||||
<interface-checkboxes v-else :choices="items" @input="$listeners.input" :value="value" :disabled="disabled" />
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
|
||||
Reference in New Issue
Block a user