All Downloads are FREE. Search and download functionalities are using the official Maven repository.

components.tables.deployments.ConfirmDialog.js Maven / Gradle / Ivy


import { useTranslation } from 'react-i18next';
import {
	Button,
  Dialog,
  DialogActions,
  DialogContent,
  DialogContentText,
  DialogTitle,
  useTheme,
  Box,
  Table,
  TableBody,
  TableCell,
  TableRow } from '@mui/material'
import { toDisplayValue }           from "components/render/utils/render";
  

const DeploymentTable = ({deployment}) => {
	const { t } = useTranslation()
	const cellStyle = {border: 'none'}

	return (
      
					
              {t('deployments.name')}: 
              {deployment.name} 
					
					
						{t('timestamp')}: 
						{toDisplayValue(deployment.deploymentTime)} 
					
					
						{t('source')}: 
						{deployment.source} 
					
          
						{t('number_of_defs')}: 
						{deployment.processDefinitionsCount} 
					

        
); } const ConfirmDialog = ({deployment, onClick, open, setOpen}) => { const {t} = useTranslation() const theme = useTheme() const handleClose = () => { setOpen(false) } return ( {t('deployments.confirmation')} {t('deployments.warning')} ); } export default ConfirmDialog;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy