Conditions on imported fieldsets

I have problem with conditional import fiedsets. Does anyone know why this example not working?

 - handle: hero_type
    field:
      options:
        image: Image
        video: Video
      display: 'Hero type'
      type: button_group
      icon: button_group
      default: image
      listable: hidden
  - import: figure
      if:
        hero_type: 'equals image'
>>>>>>> Unanswered <<<<<<<
2 Replies
3 Followers