fix(dashboard,api): minor improvement for integrations and notifications
This commit is contained in:
@@ -70,6 +70,7 @@ export function DiscordIntegrationForm({
|
||||
>
|
||||
<InputWithLabel
|
||||
label="Name"
|
||||
placeholder="Eg. My personal discord"
|
||||
{...form.register('name')}
|
||||
error={form.formState.errors.name?.message}
|
||||
/>
|
||||
|
||||
@@ -54,6 +54,7 @@ export function SlackIntegrationForm({
|
||||
>
|
||||
<InputWithLabel
|
||||
label="Name"
|
||||
placeholder="Eg. My personal slack"
|
||||
{...form.register('name')}
|
||||
error={form.formState.errors.name?.message}
|
||||
/>
|
||||
|
||||
@@ -59,6 +59,7 @@ export function WebhookIntegrationForm({
|
||||
>
|
||||
<InputWithLabel
|
||||
label="Name"
|
||||
placeholder="Eg. Zapier webhook"
|
||||
{...form.register('name')}
|
||||
error={form.formState.errors.name?.message}
|
||||
/>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { IIntegrationConfig } from '@openpanel/db';
|
||||
import type { IIntegrationConfig } from '@openpanel/validation';
|
||||
import { WebhookIcon } from 'lucide-react';
|
||||
import {
|
||||
IntegrationCardLogo,
|
||||
|
||||
Reference in New Issue
Block a user