Entity Named Notes - removed nesting sections
~ */
-->
-<div ng-show="($ctrl.hasRole && $ctrl.availableTypes.length > 0) || $ctrl.notes.length > 0">
- <waltz-section name="Additional Notes"
- icon="sticky-note-o"
- id="entity-notes-section">
-
- <waltz-section-actions>
+<div>
+ <waltz-section-actions ng-if="$ctrl.hasRole && $ctrl.availableTypes.length > 0">
<button type="button"
class="btn btn-xs btn-primary"
ng-if="($ctrl.hasRole && $ctrl.availableTypes.length > 0)"
creating-note="$ctrl.creatingNote"
on-editor-dismiss="$ctrl.editorDismiss">
</waltz-entity-named-notes-panel>
-
- </waltz-section>
</div>
