change JobComment btn label - 'send' to 'Submit'

This commit is contained in:
pramod.mahajan 2025-11-28 11:20:45 +05:30
parent bd1a97716c
commit 09428b1ff1
4 changed files with 6 additions and 6 deletions

View File

@ -22,6 +22,7 @@ const Filelist = ({ files, removeFile, expenseToEdit, sm = 6, md = 4 }) => {
style={{ minWidth: "30px" }}
></i>
<Tooltip text={file.fileName} >
<div className="d-flex flex-column text-truncate">
<span className="fw-semibold small text-truncate">
{file.fileName}
@ -30,6 +31,7 @@ const Filelist = ({ files, removeFile, expenseToEdit, sm = 6, md = 4 }) => {
{file.fileSize ? formatFileSize(file.fileSize) : ""}
</span>
</div>
</Tooltip>
</div>
{/* Delete icon */}

View File

@ -175,12 +175,9 @@ const JobList = ({ isArchive }) => {
<td
key={col.key}
className={col.className}
// onClick={() =>
// setSelectedJob({ showCanvas: true, job: row?.id })
// }
onClick={() => {
if (!isArchive) {
setSelectedJob({ showCanvas: true, job: e?.id });
setSelectedJob({ showCanvas: true, job: row?.id });
}
}}

View File

@ -150,7 +150,7 @@ const JobComments = ({ data }) => {
type="submit"
disabled={!watch("comment")?.trim() || isPending}
>
Send
Submit
</button>
</div>
</form>

View File

@ -457,6 +457,7 @@ export const SelectFieldSearch = ({
const handleSelect = (option) => {
if (!isMultiple) {
onChange(isFullObject ? option : option[valueKey]);
setOpen(false)
} else {
const exists = selectedList.some((e) => e[valueKey] === option[valueKey]);
const updated = exists