Updating design of OHIF Viewer using (OHIF-49)
This commit is contained in:
1 parent
f53ee8e030
commit
a6c45ddd27
59 files changed
+776
-565
No files matched your search
+13
@@ -0,0 +1,13 @@
|
||||
Template.simpleToolbarButton.helpers({
|
||||
activeClass() {
|
||||
const instance = Template.instance();
|
||||
|
||||
// Check if the current tool is the active one
|
||||
if (instance.data.id === Session.get('ToolManagerActiveTool')) {
|
||||
// Return the active class
|
||||
return 'active';
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user