Skip to content

Commit

Permalink
Convert a to button
Browse files Browse the repository at this point in the history
  • Loading branch information
BatJan authored and nul800sebastiaan committed Aug 31, 2020
1 parent 9c33f4b commit e02c417
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@

<umb-dropdown ng-if="vm.contentTypeSelectOpen" on-close="vm.contentTypeSelectOpen = false">
<umb-dropdown-item ng-repeat="contentType in vm.contentTypes">
<a href ng-click="vm.setContentType(contentType); vm.contentTypeSelectOpen = false;">
<button type="button" class="btn-reset" ng-click="vm.setContentType(contentType); vm.contentTypeSelectOpen = false;">
{{contentType.name}}
</a>
</button>
</umb-dropdown-item>
</umb-dropdown>

Expand Down Expand Up @@ -71,9 +71,9 @@

<umb-dropdown ng-if="vm.propertyFilterOpen[$index]" on-close="console.log(1);vm.propertyFilterOpen[$index] = false">
<umb-dropdown-item ng-repeat="property in vm.properties">
<a href="" ng-click="vm.setFilterProperty(filter, property); vm.propertyFilterOpen[$parent.$parent.$index] = false;">
<button type="button" class="btn-reset" ng-click="vm.setFilterProperty(filter, property); vm.propertyFilterOpen[$parent.$parent.$index] = false;">
{{property.name}}
</a>
</button>
</umb-dropdown-item>
</umb-dropdown>

Expand All @@ -90,9 +90,9 @@

<umb-dropdown ng-if="vm.termFilterOpen[$index]" on-close="vm.termFilterOpen[$index] = false">
<umb-dropdown-item ng-repeat="term in vm.getPropertyOperators(filter.property)">
<a href="" ng-click="vm.setFilterTerm(filter, term); vm.termFilterOpen[$parent.$parent.$index] = false;">
<button type="button" class="btn-reset" ng-click="vm.setFilterTerm(filter, term); vm.termFilterOpen[$parent.$parent.$index] = false;">
{{term.name}}
</a>
</button>
</umb-dropdown-item>
</umb-dropdown>

Expand Down Expand Up @@ -137,9 +137,9 @@

<umb-dropdown ng-if="vm.sortPropertyOpen" on-close="vm.sortPropertyOpen = false">
<umb-dropdown-item ng-repeat="property in vm.properties">
<a href="" ng-click="vm.setSortProperty(vm.query, property); vm.sortPropertyOpen = false;">
<button type="button" class="btn-reset" ng-click="vm.setSortProperty(vm.query, property); vm.sortPropertyOpen = false;">
{{property.name}}
</a>
</button>
</umb-dropdown-item>
</umb-dropdown>

Expand Down

0 comments on commit e02c417

Please sign in to comment.