{{#if this.showPreview}}
{{html-safe this.preview}}
{{else}}
{{#each this.toolbar.groups as |group|}} {{#each group.buttons as |b|}} {{#if b.popupMenu}} {{toolbar-popup-menu-options onPopupMenuAction=this.onPopupMenuAction onExpand=(action b.action b) class=b.className content=this.popupMenuOptions options=(hash popupTitle=b.title icon=b.icon) }} {{else}}
{{b.icon}}
{{/if}} {{/each}} {{#unless group.lastGroup}}
{{/unless}} {{/each}}
{{conditional-loading-spinner condition=this.loading}}