Skip to content

Commit

Permalink
feat(consultation-portal): KAM-2537: Hide statistics from beta (#15315)
Browse files Browse the repository at this point in the history
  • Loading branch information
karlarnar authored Jun 21, 2024
1 parent 6f0618c commit 92ff090
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ export const menuItems = [
href: loc[1].href,
testId: 'subscriptions-btn',
},
{
label: loc[2].label,
href: loc[2].href,
testId: 'statistics-btn',
},
// {
// label: loc[2].label,
// href: loc[2].href,
// testId: 'statistics-btn',
// },
{
label: loc[3].label,
href: loc[3].href,
Expand Down
25 changes: 13 additions & 12 deletions apps/consultation-portal/components/PowerBI/PowerBI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,19 @@ export const PowerBI = () => {
}

return (
<PowerBIEmbed
embedConfig={{
type: 'report',
tokenType: models.TokenType.Embed,
embedUrl:
'https://app.powerbi.com/view?r=eyJrIjoiZjFjOWRlODEtNGFlNS00MDkxLTlhNmYtNGUxY2Y0ZWM0M2E5IiwidCI6ImJjMTRhNDRlLWUwZmItNGUwYi1hNTM1LTEwMDU3OWQ0MWI2NSIsImMiOjh9',
settings: {
layoutType: models.LayoutType.MobilePortrait,
},
}}
getEmbeddedComponent={getEmbeddedComponent}
/>
<></>
// <PowerBIEmbed
// embedConfig={{
// type: 'report',
// tokenType: models.TokenType.Embed,
// embedUrl:
// 'https://app.powerbi.com/view?r=eyJrIjoiZjFjOWRlODEtNGFlNS00MDkxLTlhNmYtNGUxY2Y0ZWM0M2E5IiwidCI6ImJjMTRhNDRlLWUwZmItNGUwYi1hNTM1LTEwMDU3OWQ0MWI2NSIsImMiOjh9',
// settings: {
// layoutType: models.LayoutType.MobilePortrait,
// },
// }}
// getEmbeddedComponent={getEmbeddedComponent}
// />
)
}

Expand Down

0 comments on commit 92ff090

Please sign in to comment.