We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29a12a3 commit ecf2bc1Copy full SHA for ecf2bc1
packages/integrations/src/vue.ts
@@ -32,15 +32,17 @@ export class Vue implements Integration {
32
* When set to false, Sentry will suppress reporting all props data
33
* from your Vue components for privacy concerns.
34
*/
35
- private readonly _attachProps: boolean;
+ private readonly _attachProps: boolean = true;
36
37
/**
38
* @inheritDoc
39
40
public constructor(options: { Vue?: any; attachProps?: boolean } = {}) {
41
// tslint:disable-next-line: no-unsafe-any
42
this._Vue = options.Vue || getGlobalObject().Vue;
43
- this._attachProps = options.attachProps || true;
+ if (options.attachProps === false) {
44
+ this._attachProps = false;
45
+ }
46
}
47
48
/** JSDoc */
0 commit comments