fix(seo): use bracket notation for Record index signature properties (TS4111)
CI Pipeline / backend-test (push) Successful in 5m10s
CI Pipeline / frontend-test (push) Successful in 27s
CI Pipeline / quality-gate (push) Successful in 1s
CI Pipeline / quality-gate (pull_request) Successful in 2s
CI Pipeline / frontend-build (push) Successful in 29s
CI Pipeline / backend-lint (push) Successful in 8s
CI Pipeline / backend-test (pull_request) Successful in 5m11s
CI Pipeline / frontend-test (pull_request) Successful in 28s
CI Pipeline / frontend-build (pull_request) Successful in 30s
CI Pipeline / backend-lint (pull_request) Successful in 8s

This commit is contained in:
robot committed 2026-08-05 10:32:04 +00:00
1 parent 58267e8f59
commit c61162bff4
1 file changed
+2 -2
+2 -2
View File
@@ -323,8 +323,8 @@ export class SeoService {
return;
}
const tag: Record<string, string> = { content };
if (attrName === 'name') tag.name = attrValue;
else if (attrName === 'property') tag.property = attrValue;
if (attrName === 'name') tag['name'] = attrValue;
else if (attrName === 'property') tag['property'] = attrValue;
else if (attrName === 'http-equiv') tag['http-equiv'] = attrValue;
this.metaService.updateTag(tag);
}