u
This commit is contained in:
@@ -3,7 +3,7 @@ import Alert from '@mui/material/Alert';
|
||||
import Box from '@mui/material/Box';
|
||||
import Button from '@mui/material/Button';
|
||||
import CircularProgress from '@mui/material/CircularProgress';
|
||||
import Dialog from '@mui/material/Dialog';
|
||||
import AppDialog from '../AppDialog';
|
||||
import DialogActions from '@mui/material/DialogActions';
|
||||
import DialogContent from '@mui/material/DialogContent';
|
||||
import DialogTitle from '@mui/material/DialogTitle';
|
||||
@@ -110,7 +110,7 @@ class PrinterFormDialog extends Component {
|
||||
const { open, onClose, title } = this.props;
|
||||
const { form, busy, error } = this.state;
|
||||
return (
|
||||
<Dialog open={open} onClose={busy ? undefined : onClose} maxWidth="sm" fullWidth>
|
||||
<AppDialog open={open} onClose={busy ? undefined : onClose} maxWidth="sm" fullWidth>
|
||||
<DialogTitle>{title}</DialogTitle>
|
||||
<DialogContent>
|
||||
<Stack spacing={2} sx={{ mt: 1 }}>
|
||||
@@ -180,7 +180,7 @@ class PrinterFormDialog extends Component {
|
||||
{busy ? <CircularProgress size={18} /> : 'Speichern'}
|
||||
</Button>
|
||||
</DialogActions>
|
||||
</Dialog>
|
||||
</AppDialog>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Component } from 'react';
|
||||
import Box from '@mui/material/Box';
|
||||
import Dialog from '@mui/material/Dialog';
|
||||
import AppDialog from '../AppDialog';
|
||||
import DialogContent from '@mui/material/DialogContent';
|
||||
import DialogTitle from '@mui/material/DialogTitle';
|
||||
import Tab from '@mui/material/Tab';
|
||||
@@ -47,7 +47,7 @@ export default class SettingsDialog extends Component {
|
||||
const { tab } = this.state;
|
||||
|
||||
return (
|
||||
<Dialog open={open} onClose={onClose} maxWidth="md" fullWidth>
|
||||
<AppDialog open={open} onClose={onClose} maxWidth="md" fullWidth>
|
||||
<DialogTitle>Einstellungen</DialogTitle>
|
||||
<Tabs
|
||||
value={tab}
|
||||
@@ -74,7 +74,7 @@ export default class SettingsDialog extends Component {
|
||||
))}
|
||||
</Box>
|
||||
</DialogContent>
|
||||
</Dialog>
|
||||
</AppDialog>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user