React/Redux - publish component #323

Merged
bones7242 merged 80 commits from react-upload into master 2018-01-25 22:43:20 +01:00
2 changed files with 3 additions and 8 deletions
Showing only changes of commit 98ce165c7b - Show all commits

View file

@ -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>

View file

@ -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>