Skip to content

Commit

Permalink
LPD-15362 Format namespace into PortletId in PublicationTimeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ctang3 authored and brianchandotcom committed Feb 29, 2024
1 parent bf4cecc commit 0d713db
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import ClayLayout from '@clayui/layout';
import ClayLoadingIndicator from '@clayui/loading-indicator';
import ClayPanel from '@clayui/panel';
import {createPortletURL, fetch} from 'frontend-js-web';
import {createPortletURL, fetch, getPortletId} from 'frontend-js-web';
import React, {useEffect, useState} from 'react';

import TimelineDropdownMenu from './TimelineDropdownMenu';
Expand All @@ -31,7 +31,7 @@ const PublicationTimeline = ({namespace, timelineItemsURL}) => {
{
ctCollectionId,
mvcRenderCommandName,
p_p_id: namespace,
p_p_id: getPortletId(namespace),
...additionalParams,
}
).toString();
Expand Down

0 comments on commit 0d713db

Please sign in to comment.