]> BookStack Code Mirror - bookstack/blobdiff - resources/js/components/attachments-list.js
Started refactor and alignment of component system
[bookstack] / resources / js / components / attachments-list.js
index 34979c2e7a8207d376aa12534b0d3745e3a34d7d..5004f93573a39ca18422802faad6b2113b59fddc 100644 (file)
@@ -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;