]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/rest/rest-table.ts
update tslint config and fix member ordering (#1279)
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / rest / rest-table.ts
index 26748f2451ccf14701b1f12c4277b08084d583c7..8845882079ea6777680021df920c1f1bd1234031 100644 (file)
@@ -16,8 +16,6 @@ export abstract class RestTable {
   private searchStream: Subject<string>
   private sortLocalStorageKey = 'rest-table-sort-' + this.constructor.name
 
-  protected abstract loadData (): void
-
   initialize () {
     this.loadSort()
     this.initSearch()
@@ -71,4 +69,6 @@ export abstract class RestTable {
   onSearch (search: string) {
     this.searchStream.next(search)
   }
+
+  protected abstract loadData (): void
 }