Skip to content

Commit

Permalink
Fix items URL
Browse files Browse the repository at this point in the history
  • Loading branch information
litodaldegan committed Dec 5, 2018
2 parents e1d393c + 6f3d2c9 commit 7a9ec29
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -236,6 +236,7 @@ export default {
keyName = `modal_data_${key}_${i}`;
localStorage.setItem(keyName);
} catch (error) {
return;
}
}
},
Expand Down Expand Up @@ -536,7 +537,7 @@ export default {
return null;
},
getUrl(item, selectedDepth) {
const depth = selectedDepth !== null ? selectedDepth : this.depth;
const depth = selectedDepth ? selectedDepth : this.depth;
/* eslint-disable */
switch (this.db.code) {
case "location":
Expand Down

0 comments on commit 7a9ec29

Please sign in to comment.