chore: make TS enums strictly PascalCase (#26875)

This commit is contained in:
Ville Brofeldt
2024-01-31 17:40:44 -08:00
committed by GitHub
parent 959a5a5ad6
commit 19f8405bc0
362 changed files with 2002 additions and 2032 deletions

View File

@@ -208,7 +208,7 @@ function PropertiesModal({
}[]
).map(o => o.value);
}
if (isFeatureEnabled(FeatureFlag.TAGGING_SYSTEM)) {
if (isFeatureEnabled(FeatureFlag.TaggingSystem)) {
// update tags
try {
fetchTags(
@@ -264,7 +264,7 @@ function PropertiesModal({
}, [slice.slice_name]);
useEffect(() => {
if (!isFeatureEnabled(FeatureFlag.TAGGING_SYSTEM)) return;
if (!isFeatureEnabled(FeatureFlag.TaggingSystem)) return;
try {
fetchTags(
{
@@ -426,10 +426,10 @@ function PropertiesModal({
)}
</StyledHelpBlock>
</FormItem>
{isFeatureEnabled(FeatureFlag.TAGGING_SYSTEM) && (
{isFeatureEnabled(FeatureFlag.TaggingSystem) && (
<h3 css={{ marginTop: '1em' }}>{t('Tags')}</h3>
)}
{isFeatureEnabled(FeatureFlag.TAGGING_SYSTEM) && (
{isFeatureEnabled(FeatureFlag.TaggingSystem) && (
<FormItem>
<AsyncSelect
ariaLabel="Tags"