btn name changed based on job owner status

This commit was merged in pull request #431.
This commit is contained in:
victorAnumudu
2023-09-27 14:13:04 +01:00
parent 3fb996887b
commit e113f40c5c
5 changed files with 9 additions and 8 deletions
@@ -405,6 +405,7 @@ function ActiveJobs(props) {
name="message"
onChange={handleMessageChange}
value={messageToSend}
autoFocus
/>
) : (
<div className="p-4 w-full h-[300px] text-base text-slate-600 border border-slate-300">
@@ -113,9 +113,9 @@ export default function MyActiveJobTable({ MyJobList, className }) {
state: { ...value, pathname },
});
}}
className="w-20 h-11 flex justify-center items-center btn-gradient text-base rounded-full text-white"
className="px-4 h-11 flex justify-center items-center btn-gradient text-base rounded-full text-white"
>
View
{value.owner_status == 'OWNER' ? 'Manage' : 'Send Updates'}
</button>
</div>
</td>