small logout refactoring

This commit is contained in:
Adina Parpalita
2017-11-17 23:08:57 +02:00
parent 03c81d8b60
commit f75538c532

View File

@@ -28,8 +28,8 @@ export class LogoutPage extends Page {
/** @override */
load(): promise.Promise<any> {
return super.load()
.then(() => Utils.clearLocalStorage())
.then(() => Utils.clearSessionStorage());
return Utils.clearLocalStorage()
.then(() => Utils.clearSessionStorage())
.then(() => super.load());
}
}