Skip to content

Commit 440bece

Browse files
committed
fix: delete webhook button not functional
1 parent e07bf19 commit 440bece

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/gui/app/directives/modals/misc/edit-webhooks-modal.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<tr ng-repeat="webhook in $ctrl.whs.webhookConfigs track by webhook.id">
2222
<td>{{webhook.name}}</td>
2323
<td><a href ng-click="$ctrl.copyWebhookUrlToClipboard(webhook)">Copy URL</a></td>
24-
<td><span class="effect-delete-btn clickable pull-right" ng-click="$ctrl.whs.deleteWebhookConfig($index)"><i class="far fa-trash-alt"></i></span></td>
24+
<td><span class="effect-delete-btn clickable pull-right" ng-click="$ctrl.whs.deleteWebhookConfig(webhook.id)"><i class="far fa-trash-alt"></i></span></td>
2525
</tr>
2626
</tbody>
2727
</table>

0 commit comments

Comments
 (0)