X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/a3ead5062acc169ae3486d90ac2befe3db86bfe6..refs/pull/5280/head:/resources/js/components/webhook-events.js diff --git a/resources/js/components/webhook-events.js b/resources/js/components/webhook-events.js index aa50aa9d8..68661972d 100644 --- a/resources/js/components/webhook-events.js +++ b/resources/js/components/webhook-events.js @@ -1,10 +1,10 @@ - /** * Webhook Events * Manages dynamic selection control in the webhook form interface. - * @extends {Component} */ -class WebhookEvents { +import {Component} from './component'; + +export class WebhookEvents extends Component { setup() { this.checkboxes = this.$el.querySelectorAll('input[type="checkbox"]'); @@ -28,5 +28,3 @@ class WebhookEvents { } } - -export default WebhookEvents; \ No newline at end of file