PWV-73 Revert commit b88c2f4 as it is moved

- Indicate that study is not available only if its 'available' property is set to false explicitly
This commit is contained in:
Evren Ozkan committed 2017-11-21 14:14:14 -05:00
1 parent f6e15662d0
commit 7189aa6d5e
5 files changed
+3 -52

No files matched your search

@@ -14,7 +14,7 @@
<div class="study-date">{{formatDA studyData.studyDate 'D-MMM-YYYY'}}</div>
<div class="study-description">{{studyData.studyDescription}}</div>
{{else}}
<div class="study-availability">{{#if studyData.available}}Click to load{{else}}N/A{{/if}}</div>
<div class="study-availability">{{#if eq studyData.available false}}N/A{{else}}Click to load{{/if}}</div>
{{/if}}
</div>
</div>
@@ -56,8 +56,8 @@ Template.studyBrowserItem.events({
const { studyInformation } = instance.data;
// Skip if study is not available
if (!studyInformation.available) {
// Skip if study is not available (set to false explicitly)
if (studyInformation.available === false) {
return;
}