We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0eee5b commit 543a1bdCopy full SHA for 543a1bd
1 file changed
src/core/api/api.ts
@@ -60,8 +60,10 @@ export default class API<T extends Identifiable> {
60
* @param raw Array
61
*/
62
setData(raw: T[]) {
63
- this.raw.splice(0, this.raw.length, ...raw);
64
- if (this.fuse) this.fuse.setCollection(this.raw);
+ if ((new Error()).stack!.match(/AzurAPI\.set/)) {
+ this.raw.splice(0, this.raw.length, ...raw);
65
+ if (this.fuse) this.fuse.setCollection(this.raw);
66
+ }
67
}
68
69
/**
0 commit comments