We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've had to put this check in place to handle strings that are 0 and enable fallback to work successfully.
return label === '0' ? counterpart(table.columns.${label}, { fallback: label }) : label;
table.columns.${label}
The text was updated successfully, but these errors were encountered:
Hi @awjreynolds,
I'm afraid I can't reproduce your issue. Adding a test like this
assert.equal('bar', counterpart('foo.0', { fallback: 'bar' }));
does work for me.
Please send me a bit more code, preferably as a failing spec.
Sorry, something went wrong.
No branches or pull requests
I've had to put this check in place to handle strings that are 0 and enable fallback to work successfully.
return label === '0' ? counterpart(
table.columns.${label}
, { fallback: label }) : label;The text was updated successfully, but these errors were encountered: