Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reflect latest changes in data-* injection #1350

Open
Ldoppea opened this issue Sep 7, 2021 · 0 comments
Open

Reflect latest changes in data-* injection #1350

Ldoppea opened this issue Sep 7, 2021 · 0 comments

Comments

@Ldoppea
Copy link
Member

Ldoppea commented Sep 7, 2021

Since the stack is now injecting data-cozy="XXX" instead of data-cozy-*="XXX" (cf cozy/cozy-client#978), some variable doesn't have the same name. This should be the case for all variables starting with cozy* like cozySubdomainType which is now called subdomain.

This project still references some of those variables:

const { cozySubdomainType: subDomainType } = client.getInstanceOptions()

subDomainType: client.getInstanceOptions().cozySubdomainType,

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

No branches or pull requests

1 participant