fix(pbd/attached): should be a boolean

This commit is contained in:
Julien Fontanet 2016-09-22 13:20:49 +02:00
parent 97b229b2c7
commit b47146de45

View File

@ -393,7 +393,7 @@ const TRANSFORMS = {
return { return {
type: 'PBD', type: 'PBD',
attached: obj.currently_attached, attached: Boolean(obj.currently_attached),
host: link(obj, 'host'), host: link(obj, 'host'),
SR: link(obj, 'SR') SR: link(obj, 'SR')
} }