Displaying relations in tables

Change-Id: I1680f6d40407849f196c7f8d0b7798fd39cf8629
diff --git a/src/app/core/services/helpers/config.helpers.ts b/src/app/core/services/helpers/config.helpers.ts
index 88b4c06..32e0b16 100644
--- a/src/app/core/services/helpers/config.helpers.ts
+++ b/src/app/core/services/helpers/config.helpers.ts
@@ -154,7 +154,7 @@
       }
 
       // if the field identify a relation, create a link
-      if (f.relation && f.relation.type === 'many_to_one') {
+      if (f.relation && f.relation.type === 'manytoone') {
         col.type = 'custom';
         col.formatter = item => {
           this.populateRelated(item, item[f.name], f);