PostgreSQL backup tool with Point-In-Time-Recovery and restore verification
TypeScript backupbackupsdatabasedatabase-backupdevopsdockergolangkubernetesmariadbmongodbmysqlpgpostgrespostgresqls3self-hostedsystem-administrationtoolsweb-ui
import { useTranslation } from 'react-i18next';
import type { Notifier } from '../../../../../entity/notifiers';
interface Props {
notifier: Notifier;
}
export function ShowSlackNotifierComponent({ notifier }: Props) {
const { t } = useTranslation();
return (
<>
<div className="flex items-center">
<div className="min-w-[110px] pr-2">{t('notifiers.fields.botToken')}</div>
<div>*********</div>
</div>
<div className="mb-1 flex items-center">
<div className="min-w-[110px] pr-2">{t('notifiers.fields.targetChatId')}</div>
{notifier?.slackNotifier?.targetChatId}
</div>
</>
);
}