Skip to content

Commit 885872c

Browse files
committed
Portal.view.blog.List: Clearing the filter no longer works #6859 => vdom.Helper typo fix
1 parent fa85510 commit 885872c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vdom/Helper.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class Helper extends Base {
107107
Object.entries(value).forEach(([key, value]) => {
108108
const
109109
oldValue = oldVnode.attributes[key],
110-
hasOldValue = Object.hasOwn(oldVnode.attributes, 'key');
110+
hasOldValue = Object.hasOwn(oldVnode.attributes, key);
111111

112112
// If the attribute has an old value AND the value hasn't changed, skip.
113113
if (hasOldValue && oldValue === value) {

0 commit comments

Comments
 (0)