Skip to content

Commit

Permalink
redirect fix
Browse files Browse the repository at this point in the history
  • Loading branch information
furknyavuz committed Apr 5, 2023
1 parent 7203a4a commit 7626634
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/app/data/product/product.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export const PRODUCT_LINES: ProductLine[] = [
name: 'Startup Portal',
description: `Transform your data into insights`,
url: 'https://portal.opentemplatehub.com',
redirectToUrl: true,
logo: './assets/slide/image-1.png',
triable: true
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ <h2>{{ slide.title }}</h2>
<app-presentation-card
[class]="product.color ? product.color : ''"
[footerText]=getPresentationCardFooter(product.openSource)
[href]="URLS.product + '/' + productLine.key + '/' + product.key"
[href]="product.redirectToUrl ? product.url : (URLS.product + '/' + productLine.key + '/' + product.key)"
[imgHeight]="150"
[maintenance]="product.url === URLS.maintenance"
[secondaryText]="product.description"
Expand Down

0 comments on commit 7626634

Please sign in to comment.