AWV-3: Adding current state to display set navigation buttons on CINE dialog

This commit is contained in:
Bruno Alves de Faria committed 2016-09-05 10:43:09 -03:00
1 parent 6b86b8d2dc
commit 36da38283a
2 files changed
+7 -2

No files matched your search

@@ -134,5 +134,10 @@ Template.cineDialog.helpers({
framerate() {
Session.get('UpdateCINE');
return OHIF.viewer.cine.framesPerSecond.toFixed(1);
},
displaySetDisabled(isNext) {
Session.get('LayoutManagerUpdated');
return !OHIF.viewer.canMoveDisplaySets(isNext) ? 'disabled' : '';
}
});