Compare commits

..

No commits in common. "01be1ab29aba2355a66b07acdd8bc22c2662c800" and "8a0bc22124484836bf09e4e1d67d048971b41e7d" have entirely different histories.

4 changed files with 12 additions and 31 deletions

View File

@ -44,8 +44,6 @@ import {
getSidebarMenuSections
} from '../../../database/Sidebars'
import { useAppUpdateContext } from '../context/AppUpdateContext'
const { Text } = Typography
const DashboardNavigation = () => {
@ -66,7 +64,7 @@ const DashboardNavigation = () => {
const isMobile = useMediaQuery({ maxWidth: 768 })
const { platform, isElectron, isFullScreen, setSidebarViewMenu } =
useContext(ElectronContext)
const { availableUpdate, checkForUpdates } = useAppUpdateContext()
const mainMenuItems = useMemo(
() => [
{
@ -316,16 +314,6 @@ const DashboardNavigation = () => {
</Popover>
</Space>
) : null}
{isElectron && availableUpdate ? (
<Tag
icon={<CloudIcon />}
style={{ cursor: 'pointer', margin: '2px 0 0 0' }}
color='cyan'
onClick={() => checkForUpdates()}
>
Update Available
</Tag>
) : null}
</Flex>
{isOtherApp ? <DashboardWindowButtons /> : null}
</Flex>

View File

@ -461,7 +461,7 @@ const ObjectChildTable = ({
rowKey={resolvedRowKey}
scroll={scrollConfig}
locale={{ emptyText }}
bordered={minimal}
bordered={true}
style={{ maxWidth: minimal ? '100%' : maxWidth, minWidth: 0 }}
className='rollup-table'
/>
@ -479,7 +479,7 @@ const ObjectChildTable = ({
size={size}
rowKey={resolvedRowKey}
scroll={scrollConfig}
bordered={minimal}
bordered={true}
locale={{ emptyText }}
pagination={false}
className={hasRollups ? 'child-table-rollups' : 'child-table'}

View File

@ -82,8 +82,6 @@ export const AppUpdateProvider = ({ children }) => {
const runningCheckRef = useRef(null)
const updateCheckDependenciesRef = useRef({})
const [modelWidth, setModelWidth] = useState(650)
updateCheckDependenciesRef.current = {
fetchAppUpdateBranches,
fetchAppUpdateCurrent,
@ -193,7 +191,6 @@ export const AppUpdateProvider = ({ children }) => {
setNoUpdateOpen(false)
setAvailableUpdate(null)
setInstallingUpdate(update)
setModelWidth(550)
setUpdateProgress({
phase: 'preparing',
percent: 0,
@ -259,12 +256,10 @@ export const AppUpdateProvider = ({ children }) => {
<Text>There are no new software updates available.</Text>
</Modal>
<Modal
title={
installingUpdate ? 'Software Update' : 'Software Update Available'
}
title={installingUpdate ? 'Software Update' : 'Software Update Available'}
open={updateModalOpen}
footer={null}
width={modelWidth}
width={650}
centered
closable={!updateModalBusy}
maskClosable={!updateModalBusy}

View File

@ -302,14 +302,6 @@ export const Invoice = {
required: true
},
{
name: 'paidAt',
label: 'Paid At',
type: 'dateTime',
readOnly: true,
columnWidth: 175
},
{
name: 'to',
label: 'To',
@ -341,7 +333,13 @@ export const Invoice = {
readOnly: true,
columnWidth: 175
},
{
name: 'paidAt',
label: 'Paid At',
type: 'dateTime',
readOnly: true,
columnWidth: 175
},
{
name: 'totalAmountWithTax',
label: 'Total Amount w/ Tax',