summaryrefslogtreecommitdiffstats
path: root/ui/src/services
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-01-20 18:39:45 -0500
committerDessalines <tyhou13@gmx.com>2020-01-20 18:39:45 -0500
commita964b4ce21cc19eb42ae4da1a1aef8bfc0a1df5c (patch)
treee1143d93855032c86090e8d153e55f7e778a7a17 /ui/src/services
parent86871d17ac5d6aa14ef8515bd5569c85e68a65b6 (diff)
Allow comment/post upvoting from other pages.
- Fixes #355 - Votes now coming back for posts and comments on search page.
Diffstat (limited to 'ui/src/services')
-rw-r--r--ui/src/services/WebSocketService.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/src/services/WebSocketService.ts b/ui/src/services/WebSocketService.ts
index 34da5850..a70fb2de 100644
--- a/ui/src/services/WebSocketService.ts
+++ b/ui/src/services/WebSocketService.ts
@@ -255,6 +255,7 @@ export class WebSocketService {
}
public search(form: SearchForm) {
+ this.setAuth(form, false);
this.subject.next(this.wsSendWrapper(UserOperation.Search, form));
}