mirror of
https://github.com/documize/community.git
synced 2025-07-19 13:19:43 +02:00
Remove double screen blink after logout
This commit is contained in:
parent
8ecbb9cdee
commit
e2a3962092
4 changed files with 6 additions and 4 deletions
|
@ -89,7 +89,7 @@ export default Service.extend({
|
|||
|
||||
this.get('localStorage').clearAll();
|
||||
return resolve(this);
|
||||
} else if (!_.includes(requestedUrl, '/auth/')) {
|
||||
} else if (!_.includes(requestedUrl, '/auth/') && !_.isEmpty(requestedUrl)) {
|
||||
this.get('localStorage').storeSessionItem('entryUrl', requestedUrl);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue