Skip to content

Commit

Permalink
[Realtime] Options, shallow copy (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvigliotta authored Mar 31, 2023
1 parent 71cb32c commit 77eed07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/realtime/MCWSStreamProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ define([

MCWSStreamProvider.prototype.subscribe = function (domainObject, callback, options) {
if (options) {
options = JSON.parse(JSON.stringify(options));
options = { ...options };
if (options.filters) {
options.filters = this.removeFiltersIfAllSelected(domainObject, options.filters);
}
Expand Down

0 comments on commit 77eed07

Please sign in to comment.