fixed error in navbar channel view redirect

This commit is contained in:
bill bittner 2018-01-24 16:04:30 -08:00
parent 0ca0a7222a
commit 98ce165c7b
2 changed files with 3 additions and 8 deletions

View file

@ -83,13 +83,6 @@
{{claimInfo.claimId}}
</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 class="column column--2 column--med-10">
<span class="text">File Type:</span>

View file

@ -60,7 +60,9 @@
window.location.href = '/logout';
} else if (selectedOption === 'VIEW') {
// 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>