history bug fixed #757

Merged
ameye merged 1 commits from history-bug-fix into master 2024-07-20 15:23:41 +00:00
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ function JobsCompleted() {
<div className='flex flex-col justify-between min-h-[500px]'>
{jobHistory.loading ?
<LoadingSpinner size='16' color='sky-blue' height='h-[500px]' />
: jobHistory.data.length ?
: jobHistory?.data?.length ?
<table className="wallet-activity w-full table-auto border-collapse text-left">
<thead className='w-full'>
<tr className='text-slate-600 dark:text-white'>
@@ -175,8 +175,8 @@ const MarketPopUp = ({ details, onClose, situation, marketInt }) => {
<div
className={`w-full p-2 md:w-3/4 text-slate-900 dark:text-white market-pop ${
name == "Description"
? "max-h-28 h-full overflow-y-auto break-words"
: name == "Delivery Detail" ? " overflow-y-auto h-full max-h-28"
? "max-h-22 h-full overflow-y-auto break-words"
: name == "Delivery Detail" ? " overflow-y-auto h-full max-h-22"
: "h-full flex items-center"
}`}
>