fixed error in navbar channel view redirect
This commit is contained in:
parent
0ca0a7222a
commit
98ce165c7b
2 changed files with 3 additions and 8 deletions
|
@ -83,13 +83,6 @@
|
||||||
{{claimInfo.claimId}}
|
{{claimInfo.claimId}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="show-claim-id">
|
|
||||||
<div class="column column--2 column--med-10">
|
|
||||||
<span class="text">File Name:</span>
|
|
||||||
</div><div class="column column--8 column--med-10">
|
|
||||||
{{claimInfo.fileName}}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div id="show-claim-id">
|
<div id="show-claim-id">
|
||||||
<div class="column column--2 column--med-10">
|
<div class="column column--2 column--med-10">
|
||||||
<span class="text">File Type:</span>
|
<span class="text">File Type:</span>
|
||||||
|
|
|
@ -60,7 +60,9 @@
|
||||||
window.location.href = '/logout';
|
window.location.href = '/logout';
|
||||||
} else if (selectedOption === 'VIEW') {
|
} else if (selectedOption === 'VIEW') {
|
||||||
// redirect to channel page
|
// redirect to channel page
|
||||||
window.location.href = event.target.selectedOptions[0].dataset.channelUrl;
|
const channelUrl = event.target.selectedOptions[0].dataset.channelurl;
|
||||||
|
console.log('url:', channelUrl);
|
||||||
|
window.location.href = channelUrl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue