modificacion web-access

This commit is contained in:
Javi Gallego 2017-01-30 07:37:12 +01:00
parent d36d619533
commit 5cf0417c35
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ export const COMPONENT = {
};
function callback(transition) {
if (!equalsObject(self.client.account, self.accountOld)) {
if (!equalsObject(self.account, self.accountOld) && self.account) {
self.state = transition.to().name;
var dialog = $element[0].querySelector('dialog');
dialog.showModal();