Somewhat working webpack. Sponsors and communities pages done.

This commit is contained in:
Dessalines 2020-09-06 22:41:46 -05:00
parent 2eee936026
commit 241ef72290
22 changed files with 4604 additions and 1396 deletions

View file

@ -393,7 +393,7 @@ export class WebSocketService {
this.ws.send(this.client.saveSiteConfig(form));
}
private setAuth(obj: any, throwErr: boolean = true) {
public setAuth(obj: any, throwErr: boolean = true) {
obj.auth = UserService.Instance.auth;
if (obj.auth == null && throwErr) {
toast(i18n.t('not_logged_in'), 'danger');