Skip to content

Commit

Permalink
fix: renamed filter to $filter
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Sep 13, 2023
1 parent b7ee00f commit 6f2375f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function setData(element, data) {
for (let object of data.objects) {
let event = calendar.getEventById(object._id);
if (event) {
if (data.filter && data.filter.remove) {
if (data.$filter && data.$filter.remove) {
event.remove();
continue
}
Expand Down

0 comments on commit 6f2375f

Please sign in to comment.