Skip to content

initial commit for activity control changes#496

Open
pm-manasi-moghe wants to merge 2 commits intoopenwrap_8_2_0_20230706114031from
allow_activities_8.2
Open

initial commit for activity control changes#496
pm-manasi-moghe wants to merge 2 commits intoopenwrap_8_2_0_20230706114031from
allow_activities_8.2

Conversation

@pm-manasi-moghe
Copy link
Copy Markdown
Collaborator

No description provided.

var consentStr = window.consentData || "";
if (consentStr === undefined || consentStr.length === 0 || consentStr === '1---' || consentStr === '1NNN' || consentStr === '1YNN')
retValue = true;
else if (consentStr === '1YYY' || consentStr === '1YYN')
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy has a fix for the issue: Strings must use doublequote.

Suggested change
else if (consentStr === '1YYY' || consentStr === '1YYN')
else if (consentStr === "1YYY" || consentStr === '1YYN')

exports.isCCPAConsentDenied = function() {
var retValue = true;
var consentStr = window.consentData || "";
if (consentStr === undefined || consentStr.length === 0 || consentStr === '1---' || consentStr === '1NNN' || consentStr === '1YNN')
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codacy has a fix for the issue: Strings must use doublequote.

Suggested change
if (consentStr === undefined || consentStr.length === 0 || consentStr === '1---' || consentStr === '1NNN' || consentStr === '1YNN')
if (consentStr === undefined || consentStr.length === 0 || consentStr === "1---" || consentStr === '1NNN' || consentStr === '1YNN')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant