]> BookStack Code Mirror - bookstack/blobdiff - resources/js/components/chapter-contents.js
Allow a user to disable peer check when using TLS/STARTTLS
[bookstack] / resources / js / components / chapter-contents.js
index c824d0f78b0b7fad13fcb16f84453746be6f1c7c..37df213e3c98e1ce12fa2de347e9397c3213238f 100644 (file)
@@ -1,9 +1,7 @@
 import {slideUp, slideDown} from "../services/animations";
+import {Component} from "./component";
 
-/**
- * @extends {Component}
- */
-class ChapterContents {
+export class ChapterContents extends Component {
 
     setup() {
         this.list = this.$refs.list;
@@ -31,7 +29,4 @@ class ChapterContents {
         event.preventDefault();
         this.isOpen ?  this.close() : this.open();
     }
-
 }
-
-export default ChapterContents;