Skip to content

Commit

Permalink
emphasized create button
Browse files Browse the repository at this point in the history
  • Loading branch information
delchev committed Nov 5, 2024
1 parent 14315ba commit eee4c79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<fd-button compact="true" dg-type="transparent" dg-label="Filter" ng-click="openFilter()"></fd-button>
<fd-button ng-repeat="action in pageActions" compact="true" dg-type="transparent" dg-label="{{action.label}}" ng-click="triggerPageAction(action)"></fd-button>
<fd-toolbar-spacer></fd-toolbar-spacer>
<fd-button compact="true" dg-type="transparent" dg-label="Create" ng-click="createEntity()"></fd-button>
<fd-button compact="true" dg-type="emphasized" dg-label="Create" ng-click="createEntity()"></fd-button>
</fd-toolbar>

<fd-scrollbar class="dg-full-height" ng-hide="data == null">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<fd-button compact="true" dg-type="transparent" dg-label="Filter" ng-click="openFilter()"></fd-button>
<fd-button ng-repeat="action in pageActions" compact="true" dg-type="transparent" dg-label="{{action.label}}" ng-click="triggerPageAction(action)"></fd-button>
<fd-toolbar-spacer></fd-toolbar-spacer>
<fd-button compact="true" dg-type="transparent" dg-label="Create" ng-click="createEntity()"
<fd-button compact="true" dg-type="emphasized" dg-label="Create" ng-click="createEntity()"
state="{{selectedMainEntityId == null ? 'disabled' : ''}}"></fd-button>
</fd-toolbar>
<fd-scrollbar class="dg-full-height" ng-hide="data == null">
Expand Down

0 comments on commit eee4c79

Please sign in to comment.