From 57e6cfd500ab4cf934f77af415b7d91c385cad91 Mon Sep 17 00:00:00 2001 From: Simon Lamon Date: Fri, 22 Oct 2021 20:53:06 +0000 Subject: [PATCH] setOption and getOption should look at publicOptions --- src/common/services/OptionsService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/services/OptionsService.ts b/src/common/services/OptionsService.ts index 5f647c42..a245c153 100644 --- a/src/common/services/OptionsService.ts +++ b/src/common/services/OptionsService.ts @@ -126,7 +126,7 @@ export class OptionsService implements IOptionsService { } public setOption(key: string, value: any): void { - this.options[key] = value; + this.publicOptions[key] = value; } private _sanitizeAndValidateOption(key: string, value: any): any { @@ -181,6 +181,6 @@ export class OptionsService implements IOptionsService { } public getOption(key: string): any { - return this.options[key]; + return this.publicOptions[key]; } }