fix: remove app dialog while removing installed calendar (#10234)
* Fix remove app dialog while removing installed calendar * fix: dialog in webhook, otp Signed-off-by: Udit Takkar <[email protected]> * fix: more dialogs Signed-off-by: Udit Takkar <[email protected]> * fix: margin Signed-off-by: Udit Takkar <[email protected]> --------- Signed-off-by: Udit Takkar <[email protected]> Co-authored-by: Udit Takkar <[email protected]> Co-authored-by: Udit Takkar <[email protected]> Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
6 files changed
+29
-24
No files matched your search
@@ -5,7 +5,17 @@ import { WEBAPP_URL } from "@calcom/lib/constants";
|
||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
import { WebhookTriggerEvents } from "@calcom/prisma/enums";
|
||||
import type { RouterOutputs } from "@calcom/trpc/react";
|
||||
import { Button, Form, Label, Select, Switch, TextArea, TextField, ToggleGroup } from "@calcom/ui";
|
||||
import {
|
||||
Button,
|
||||
Form,
|
||||
Label,
|
||||
Select,
|
||||
Switch,
|
||||
TextArea,
|
||||
TextField,
|
||||
ToggleGroup,
|
||||
DialogFooter,
|
||||
} from "@calcom/ui";
|
||||
|
||||
import customTemplate, { hasTemplateIntegration } from "../lib/integrationTemplate";
|
||||
import WebhookTestDisclosure from "./WebhookTestDisclosure";
|
||||
@@ -259,7 +269,7 @@ const WebhookForm = (props: {
|
||||
<WebhookTestDisclosure />
|
||||
</div>
|
||||
|
||||
<div className="mt-12 flex place-content-end space-x-4">
|
||||
<DialogFooter showDivider>
|
||||
<Button
|
||||
type="button"
|
||||
color="minimal"
|
||||
@@ -270,7 +280,7 @@ const WebhookForm = (props: {
|
||||
<Button type="submit" loading={formMethods.formState.isSubmitting}>
|
||||
{props?.webhook?.id ? t("save") : t("create_webhook")}
|
||||
</Button>
|
||||
</div>
|
||||
</DialogFooter>
|
||||
</Form>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user