Skip to content
Snippets Groups Projects
Unverified Commit f12ee68c authored by Alexander Polyankin's avatar Alexander Polyankin Committed by GitHub
Browse files

Add a description for slack channel form field (#25353)

parent 1069cfeb
No related merge requests found
import React, { useCallback, useMemo } from "react";
import { t } from "ttag";
import Form from "metabase/containers/FormikForm";
import { SlackSettings } from "metabase-types/api";
import { getSlackForm } from "../../forms";
......@@ -21,7 +22,10 @@ const SlackStatusForm = ({ settings }: SlackStatusFormProps): JSX.Element => {
{({ Form, FormField }: FormProps) => (
<Form>
<FormField name="slack-app-token" />
<FormField name="slack-files-channel" />
<FormField
name="slack-files-channel"
description={t`We'll upload charts and tables here before sending out dashboard subscriptions.`}
/>
</Form>
)}
</Form>
......
......@@ -7,4 +7,5 @@ export interface FormProps {
export interface FormFieldProps {
name: string;
description?: string;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment