Skip to content

Commit

Permalink
Merge branch 'opera-deployment' of https://github.com/asfadmin/Discov…
Browse files Browse the repository at this point in the history
…ery-SearchUI into opera-deployment
  • Loading branch information
kim committed Oct 16, 2023
2 parents e0223ae + 5ee5b4a commit 74dd6bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/services/product.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export class ProductService {

for (const p of product.metadata.opera.additionalUrls.filter(url => url !== product.downloadUrl)) {
reg = p.split(/(_v[0-9]\.[0-9]){1}(\.(\w*)|(_(\w*(_*))*.))*/);
file_suffix = !!reg[3] ? reg[3] : reg[5]
file_suffix = !!reg[3] ? reg[3] : reg[5]
const productTypeDisplay = this.operaProductTypeDisplays[file_suffix.toLowerCase()];

const fileID = p.split('/').slice(-1)[0]
Expand Down

0 comments on commit 74dd6bc

Please sign in to comment.