X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/7997300f966103d8f945422fc0a38bef9f5bdbaa..1dbc3588cf11c12fde3da0ca4cb951c55ce810d9:/resources/js/components/attachments-list.js diff --git a/resources/js/components/attachments-list.js b/resources/js/components/attachments-list.js index 34979c2e7..dfefd9b7f 100644 --- a/resources/js/components/attachments-list.js +++ b/resources/js/components/attachments-list.js @@ -1,10 +1,11 @@ +import {Component} from "./component"; + /** * Attachments List * Adds '?open=true' query to file attachment links * when ctrl/cmd is pressed down. - * @extends {Component} */ -class AttachmentsList { +export class AttachmentsList extends Component { setup() { this.container = this.$el; @@ -42,6 +43,4 @@ class AttachmentsList { link.removeAttribute('target'); } } -} - -export default AttachmentsList; \ No newline at end of file +} \ No newline at end of file