Skip to content

Commit 2dfb332

Browse files
committed
Fix card deselection
1 parent 8b0685f commit 2dfb332

File tree

1 file changed

+2
-1
lines changed
  • src/Umbraco.Cms.Integrations.Search.Algolia/App_Plugins/UmbracoCms.Integrations/Search/Algolia/views

1 file changed

+2
-1
lines changed

src/Umbraco.Cms.Integrations.Search.Algolia/App_Plugins/UmbracoCms.Integrations/Search/Algolia/views/dashboard.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,11 @@ <h5>Manage Algolia Indices</h5>
117117
<uui-label slot="label">{{ vm.manageIndex.selectedContentType.name }} Properties</uui-label>
118118
<uui-icon-registry-essential>
119119
<div class="alg-col-3">
120-
<uui-card-content-node selectable
120+
<uui-card-content-node selectable ng-attr-id="{{property.alias}}"
121121
ng-attr-selected="{{property.selected || undefined}}"
122122
ng-on-selected="vm.manageIndex.selectProperty(property)"
123123
ng-on-unselected="vm.manageIndex.removeProperty(property)"
124+
ng-on-deselected="vm.manageIndex.removeProperty(property)"
124125
ng-repeat="property in vm.manageIndex.propertiesList"
125126
name="{{ property.name }}">
126127
<uui-tag ng-if="property.selected" size="s" slot="tag" color="primary">Selected</uui-tag>

0 commit comments

Comments
 (0)