Somewhat working webpack. Sponsors and communities pages done.
This commit is contained in:
parent
2eee936026
commit
241ef72290
22 changed files with 4604 additions and 1396 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue