1
0
Fork 0
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:
McMatts 2019-05-14 14:52:36 +01:00
parent 8ecbb9cdee
commit e2a3962092
4 changed files with 6 additions and 4 deletions

View file

@ -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);
}