Skip to content

Commit

Permalink
Fixed a syntax issue with old Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
dacarley committed Sep 14, 2022
1 parent 19554c9 commit 0ea001e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@
onMount(() => {
keyParts = (key || "").split(".");
template = getTemplate();
name = namesByKey[keyParts.at(-1)] || keyParts.at(-1);
name = keyParts[keyParts.length - 1];
name = namesByKey[name] || name;
title = getTitle();
value = getValue();
});
Expand Down

0 comments on commit 0ea001e

Please sign in to comment.