Skip to content

Commit

Permalink
glyphs for toolbar buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
delchev committed Nov 5, 2024
1 parent eb50b69 commit 4cef772
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
<fd-toolbar has-title="true">
<fd-toolbar-title>Items ({{dataCount}})</fd-toolbar-title>
<fd-toolbar-spacer></fd-toolbar-spacer>
<fd-button compact="true" dg-type="transparent" dg-label="Create"
<fd-button compact="true" dg-type="transparent" glyph="sap-icon--add-document"
state="{{action == 'update'? 'disabled' : ''}}" ng-click="createEntity()"></fd-button>
<fd-button compact="true" dg-type="transparent" dg-label="Edit"
<fd-button compact="true" dg-type="transparent" glyph="sap-icon--edit"
state="{{selectedEntity == null ? 'disabled' : ''}}" ng-click="updateEntity()"></fd-button>
<fd-button compact="true" dg-type="transparent" dg-label="Delete"
<fd-button compact="true" dg-type="transparent" glyph="sap-icon--delete"
state="{{selectedEntity == null || action == 'update'? 'disabled' : ''}}" ng-click="deleteEntity()">
</fd-button>
<fd-popover>
Expand Down

0 comments on commit 4cef772

Please sign in to comment.