diff --git a/web/src/pages/applications/ApplicationForm.ts b/web/src/pages/applications/ApplicationForm.ts index 7e2fa0046..a80a7bea3 100644 --- a/web/src/pages/applications/ApplicationForm.ts +++ b/web/src/pages/applications/ApplicationForm.ts @@ -52,7 +52,7 @@ export class ApplicationForm extends ModelForm { }); } return config().then((c) => { - if (c.capabilities.includes(CapabilitiesEnum.CanSaveMedia)) { + if (c.capabilities.includes(CapabilitiesEnum.SaveMedia)) { const icon = this.getFormFile(); if (icon) { return writeOp.then(app => { @@ -179,7 +179,7 @@ export class ApplicationForm extends ModelForm { ${until(config().then((c) => { let type = "text"; - if (c.capabilities.includes(CapabilitiesEnum.CanSaveMedia)) { + if (c.capabilities.includes(CapabilitiesEnum.SaveMedia)) { type = "file"; } return html` { }); } return config().then((c) => { - if (c.capabilities.includes(CapabilitiesEnum.CanSaveMedia)) { + if (c.capabilities.includes(CapabilitiesEnum.SaveMedia)) { const icon = this.getFormFile(); if (icon) { return writeOp.then(app => { @@ -135,7 +135,7 @@ export class FlowForm extends ModelForm { ${until(config().then((c) => { let type = "text"; - if (c.capabilities.includes(CapabilitiesEnum.CanSaveMedia)) { + if (c.capabilities.includes(CapabilitiesEnum.SaveMedia)) { type = "file"; } return html`