]> BookStack Code Mirror - bookstack/blobdiff - resources/js/components/list-sort-control.js
Updated a whole load more js components
[bookstack] / resources / js / components / list-sort-control.js
index 3b642dbde09604485d78f81b87f280c42f2daceb..b8d4de73a0e7b8cd3326ca9e30679366043af7be 100644 (file)
@@ -1,9 +1,10 @@
 /**
  * ListSortControl
  * Manages the logic for the control which provides list sorting options.
- * @extends {Component}
  */
-class ListSortControl {
+import {Component} from "./component";
+
+export class ListSortControl extends Component {
 
     setup() {
         this.elem = this.$el;
@@ -44,6 +45,4 @@ class ListSortControl {
         this.form.submit();
     }
 
-}
-
-export default ListSortControl;
\ No newline at end of file
+}
\ No newline at end of file