LT-251: Showing only one quick switck if there is no second viewport

This commit is contained in:
Bruno Alves de Faria authored and Erik Ziegler committed 2016-07-22 11:08:27 +02:00
1 parent 257f5cd38b
commit 5b930f8db2
5 files changed
+30 -10

No files matched your search

@@ -2,8 +2,7 @@
* Boolean helper to identify if a series instance is active in some viewport
*/
Template.registerHelper('isSeriesActive', (seriesInstanceUid, viewportIndex) => {
// Register dependency on Session key that is changed
// when viewports are updated
// Run this computation everytime the viewports are updated
Session.get('LayoutManagerUpdated');
// Stop here if layoutManager is not defined yet