Merge pull request 'ariculratherapy' (#103) from ariculratherapy into main
Reviewed-on: https://git.zedobject.local/AcuPedia/acupedia-mobile-ui/pulls/103 Reviewed-by: Amit Salunke <amit@noreply.localhost>
This commit is contained in:
commit
c793ea27c7
|
|
@ -3,7 +3,6 @@ import { ScrollView } from "react-native";
|
||||||
|
|
||||||
import type { DetailRendererProps } from "../types/renderer.types";
|
import type { DetailRendererProps } from "../types/renderer.types";
|
||||||
import { humanizeKey } from "./helpers/value";
|
import { humanizeKey } from "./helpers/value";
|
||||||
import { ContentLinkAttributeSections } from "./shared/ContentLinkAttributeSections";
|
|
||||||
import { ContentValue } from "./shared/ContentValue";
|
import { ContentValue } from "./shared/ContentValue";
|
||||||
import { Hero } from "./shared/Hero";
|
import { Hero } from "./shared/Hero";
|
||||||
import { ImageGallery } from "./shared/ImageGallery";
|
import { ImageGallery } from "./shared/ImageGallery";
|
||||||
|
|
@ -23,7 +22,6 @@ export function GenericDetailRenderer({
|
||||||
moduleCode,
|
moduleCode,
|
||||||
templateCode,
|
templateCode,
|
||||||
definitions,
|
definitions,
|
||||||
presentationAttributes,
|
|
||||||
}: DetailRendererProps) {
|
}: DetailRendererProps) {
|
||||||
const isTherapeutic = Boolean(
|
const isTherapeutic = Boolean(
|
||||||
moduleCode?.toLowerCase().startsWith("m004") ||
|
moduleCode?.toLowerCase().startsWith("m004") ||
|
||||||
|
|
@ -68,11 +66,6 @@ export function GenericDetailRenderer({
|
||||||
</SectionCard>
|
</SectionCard>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
<ContentLinkAttributeSections
|
|
||||||
data={data}
|
|
||||||
definitions={definitions}
|
|
||||||
presentationAttributes={presentationAttributes}
|
|
||||||
/>
|
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue