Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Conflict resolved in content mapper
  • Loading branch information
sayalijoshi27 committed May 2, 2024
commit 5b62fbbf097b478d907ddd72d24a11b1c6a1d106
9 changes: 4 additions & 5 deletions ui/src/components/ContentMapper/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ const ContentMapper = () => {
setOtherCmsTitle(data?.contentTypes?.[0]?.otherCmsTitle);
setContentTypeUid(data?.contentTypes?.[0]?.id);
fetchFields(data?.contentTypes?.[0]?.id, searchText || '');
setotherCmsUid(data?.contentTypes?.[0]?.otherCmsUid);
};

// Get the stack status if it is empty or not
Expand Down Expand Up @@ -315,7 +316,9 @@ const ContentMapper = () => {
setContentTypeUid(contentTypes?.[i]?.id);
setCurrentIndex(i);
fetchFields(contentTypes?.[i]?.id, searchText || '');
};
setotherCmsUid(contentTypes?.[i]?.otherCmsUid);
setSelectedContentType(contentTypes?.[i]);
};

//function to handle previous content type navigation
const handlePrevClick = (e: React.MouseEvent<HTMLElement>) => {
Expand Down Expand Up @@ -872,10 +875,6 @@ const ContentMapper = () => {
totalCounts={totalCounts}
searchPlaceholder={searchPlaceholder}
fetchTableData={fetchData}
rowDisableProp={{
key: '_invalid',
value: true
}}
loadMoreItems={loadMoreItems}
tableHeight={485}
equalWidthColumns={true}
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.