aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-12-08 11:54:07 +0100
committerChocobozzz <me@florianbigard.com>2020-12-08 11:56:31 +0100
commit6c53d8bf1d0662c1ef86463981f2afd2d9568b50 (patch)
tree07b14931ebf1388594eb4c65076dd684a701cfa2 /client/src/app/core
parent8e2392e512f2652267b5483a17ce12f6deb645b8 (diff)
downloadPeerTube-6c53d8bf1d0662c1ef86463981f2afd2d9568b50.tar.gz
PeerTube-6c53d8bf1d0662c1ef86463981f2afd2d9568b50.tar.zst
PeerTube-6c53d8bf1d0662c1ef86463981f2afd2d9568b50.zip
Fix loading data twice in rest tables
Diffstat (limited to 'client/src/app/core')
-rw-r--r--client/src/app/core/rest/rest-table.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/core/rest/rest-table.ts b/client/src/app/core/rest/rest-table.ts
index 50f6bf39d..d53cac4c8 100644
--- a/client/src/app/core/rest/rest-table.ts
+++ b/client/src/app/core/rest/rest-table.ts
@@ -110,8 +110,8 @@ export abstract class RestTable {
110 .subscribe(params => { 110 .subscribe(params => {
111 this.search = params.search || '' 111 this.search = params.search || ''
112 112
113 // Primeng table will run an event to load data
113 this.setTableFilter(this.search) 114 this.setTableFilter(this.search)
114 this.loadData()
115 }) 115 })
116 } 116 }
117 117