Merge branch 'dev-sabda-v2' of https://gitlab.com/hanifsalafi/mediahub_redesign
This commit is contained in:
commit
94535fa64e
|
|
@ -33,7 +33,7 @@ const ContentCategory = (props: { group?: string; type: string }) => {
|
|||
? `/polda/${poldaName}`
|
||||
: satkerName
|
||||
? `/satker/${satkerName}`
|
||||
: "/";
|
||||
: "";
|
||||
|
||||
useEffect(() => {
|
||||
initFetch();
|
||||
|
|
|
|||
|
|
@ -214,7 +214,7 @@ export default function FilterDocumentComponent(props: {
|
|||
{newContent?.map((text: any) => (
|
||||
<CarouselItem key={text?.id} className="md:basis-1/2 lg:basis-1/3">
|
||||
<Link
|
||||
href={`${prefixPath}/text/detail/${text?.slug
|
||||
href={`${prefixPath}/document/detail/${text?.slug
|
||||
?.split("/")
|
||||
.pop()}`}
|
||||
// href={`${prefixPath}/document/detail/${text?.slug}`}
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ const Navbar = () => {
|
|||
? `/polda/${poldaName}`
|
||||
: satkerName
|
||||
? `/satker/${satkerName}`
|
||||
: "/";
|
||||
: "";
|
||||
|
||||
let menu = "";
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ const NewContent = (props: { group: string; type: string }) => {
|
|||
? `/polda/${poldaName}`
|
||||
: satkerName
|
||||
? `/satker/${satkerName}`
|
||||
: "/";
|
||||
: "";
|
||||
|
||||
useEffect(() => {
|
||||
const timer = setTimeout(() => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue