Feature: Lazy loading
Lazy loaded everything TODO: The cash flow module when clicking on sub-links, it reloads the whole page, it needs to be diagnosed and fixed, this problem also exists in the other modules TODO: Rename folders and modules such as account to accounts to match the url
This commit is contained in:
@ -4,7 +4,7 @@ import {AuthService} from './auth.service';
|
||||
import {Observable} from 'rxjs/internal/Observable';
|
||||
import {map} from 'rxjs/operators';
|
||||
import {ToasterService} from '../core/toaster.service';
|
||||
import {User} from '../user/user';
|
||||
import {User} from '../core/user';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
|
||||
@ -4,7 +4,7 @@ import {Observable} from 'rxjs/internal/Observable';
|
||||
import {catchError, tap} from 'rxjs/operators';
|
||||
import {Subject} from 'rxjs/internal/Subject';
|
||||
import {ErrorLoggerService} from '../core/error-logger.service';
|
||||
import {User} from '../user/user';
|
||||
import {User} from '../core/user';
|
||||
|
||||
|
||||
const httpOptions = {
|
||||
@ -13,7 +13,7 @@ const httpOptions = {
|
||||
|
||||
const loginUrl = '/api/login';
|
||||
const logoutUrl = '/api/logout';
|
||||
const checkUrl = '/api/Auth';
|
||||
const checkUrl = '/api/auth';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
|
||||
Reference in New Issue
Block a user