fix: typeof returns a string, so this condition was always true

This commit is contained in:
Simon Honegger 2020-05-29 11:03:36 +02:00 committed by Saúl Ibarra Corretgé
parent d4d1d0aa70
commit af39186a5f
1 changed files with 1 additions and 1 deletions

View File

@ -1261,7 +1261,7 @@ export default {
items[key] = param[1];
}
if (typeof items.e2eekey !== undefined) {
if (typeof items.e2eekey !== 'undefined') {
APP.store.dispatch(setE2EEKey(items.e2eekey));
// Clean URL in browser history.