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 authored and Bruno Alves de Faria committed 2018-02-02 09:14:44 -02:00
1 parent 6a2143681a
commit d03a03ce76
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;
}