Skip to content
Snippets Groups Projects
Commit af00b019 authored by Allen Gilliland's avatar Allen Gilliland
Browse files

allow breakouts to include PK, FK, and Entity Name type fields.

parent bc7214c3
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ export function isCategory(field) {
}
export function isDimension(field) {
return isDate(field) || isCategory(field) || isInTypes(field.field_type, ['dimension']);
return isDate(field) || isCategory(field) || isInTypes(field.field_type, ['dimension']) || isInTypes(field.special_type, ['fk', 'id', 'name']);
}
// will return a string with possible values of 'date', 'number', 'bool', 'string'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment