LT-370: Repositioning the Add label button
This commit is contained in:
1 parent
d2095f3cb7
commit
bcbd1a4465
8 files changed
+74
-16
No files matched your search
@@ -3,7 +3,7 @@ import { OHIF } from 'meteor/ohif:core';
|
||||
OHIF.object = {};
|
||||
|
||||
// Transforms a shallow object with keys separated by "." into a nested object
|
||||
OHIF.blaze.getNestedObject = shallowObject => {
|
||||
OHIF.object.getNestedObject = shallowObject => {
|
||||
var nestedObject = {};
|
||||
for (var key in shallowObject) {
|
||||
var value = shallowObject[key];
|
||||
@@ -27,7 +27,7 @@ OHIF.blaze.getNestedObject = shallowObject => {
|
||||
};
|
||||
|
||||
// Transforms a nested object into a shallowObject merging its keys with "." character
|
||||
OHIF.blaze.getShallowObject = nestedObject => {
|
||||
OHIF.object.getShallowObject = nestedObject => {
|
||||
var shallowObject = {};
|
||||
var putValues = function(baseKey, nestedObject, resultObject) {
|
||||
for (var key in nestedObject) {
|
||||
|
||||
Reference in new issue
Block a user