web: (ESLint) Use dot notation. (#14557)

This commit is contained in:
Teffen Ellis
2025-05-19 19:33:52 +02:00
committed by GitHub
parent d97297e0ce
commit b72d0e84c9
30 changed files with 49 additions and 49 deletions

View File

@ -87,7 +87,7 @@ export class OAuthSourceForm extends WithCapabilitiesConfig(BaseSourceForm<OAuth
}
const c = await config();
if (c.capabilities.includes(CapabilitiesEnum.CanSaveMedia)) {
const icon = this.getFormFiles()["icon"];
const icon = this.getFormFiles().icon;
if (icon || this.clearIcon) {
await new SourcesApi(DEFAULT_CONFIG).sourcesAllSetIconCreate({
slug: source.slug,