LT-251: Disabling drag and drop from series and adding click-to-select behavior for quick switch areas
This commit is contained in:
1 parent
97c8c2b554
commit
e3fc56c0f4
13 files changed
+200
-154
No files matched your search
@@ -1,8 +1,8 @@
|
||||
<template name="studyTimepoint">
|
||||
<div class="studyTimepointWrapper">
|
||||
<div class="studyTimepoint">
|
||||
{{#each studies}}
|
||||
{{>studyTimepointStudy study=this active=isActive}}
|
||||
{{#each study in studies}}
|
||||
{{>studyTimepointStudy study=study active=(isActive study) viewportIndex=viewportIndex}}
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -54,11 +54,11 @@ Template.studyTimepoint.events({
|
||||
});
|
||||
|
||||
Template.studyTimepoint.helpers({
|
||||
isActive() {
|
||||
if (!this.studyInstanceUid) {
|
||||
isActive(study) {
|
||||
if (!study.studyInstanceUid) {
|
||||
return;
|
||||
}
|
||||
|
||||
return isActive[this.studyInstanceUid];
|
||||
return isActive[study.studyInstanceUid];
|
||||
}
|
||||
})
|
||||
})
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
</div>
|
||||
<div class="timepointModalities">{{modalitiesSummary timepoint}}</div>
|
||||
</div>
|
||||
{{>studyTimepoint studies=(studies timepoint) index=@index}}
|
||||
{{>studyTimepoint studies=(studies timepoint) index=@index viewportIndex=viewportIndex}}
|
||||
</div>
|
||||
<hr class="m-y-1">
|
||||
{{/if}}
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
</div>
|
||||
<div class="studyTimepointThumbnails">
|
||||
{{#each thumbnail in (thumbnails this.study)}}
|
||||
{{>thumbnailEntry thumbnail}}
|
||||
{{>thumbnailEntry thumbnail=thumbnail viewportIndex=viewportIndex}}
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user