Update NewDocumentJob component to increase sidebar minimum height for improved layout and enhance DocumentPrintButton imports for better readability.
This commit is contained in:
parent
5f12347ec2
commit
fffbc8f5e4
@ -57,7 +57,7 @@ const NewDocumentJob = ({ onOk, defaultValues = {} }) => {
|
||||
disabled={downloading}
|
||||
sideBarGrow={true}
|
||||
sideBar={
|
||||
<div style={{ minHeight: '500px', flexGrow: 1 }}>
|
||||
<div style={{ minHeight: '760px', flexGrow: 1 }}>
|
||||
<TemplatePreview
|
||||
objectData={objectData?.object}
|
||||
documentTemplate={objectData?.documentTemplate}
|
||||
|
||||
@ -1,5 +1,12 @@
|
||||
import PropTypes from 'prop-types'
|
||||
import { useState, useEffect, useContext, useCallback, useMemo, useRef } from 'react'
|
||||
import {
|
||||
useState,
|
||||
useEffect,
|
||||
useContext,
|
||||
useCallback,
|
||||
useMemo,
|
||||
useRef
|
||||
} from 'react'
|
||||
// import { getModelByName } from '../../../database/ObjectModels'
|
||||
import DocumentPrinterIcon from '../../Icons/DocumentPrinterIcon'
|
||||
import { Button, Dropdown, Modal } from 'antd'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user