web/admin: fix file path setting not saved properly (#5463)

This commit is contained in:
Jens L 2023-05-03 18:13:34 +03:00 committed by GitHub
parent 9b879989fe
commit da6e74a353
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -239,7 +239,7 @@ export class ApplicationForm extends ModelForm<Application, string> {
</ak-form-element-horizontal>
`
: html``}`
: html`<ak-form-element-horizontal label=${t`Icon`} name="icon">
: html`<ak-form-element-horizontal label=${t`Icon`} name="metaIcon">
<input
type="text"
value="${first(this.instance?.metaIcon, "")}"

View file

@ -363,7 +363,7 @@ export class FlowForm extends ModelForm<Flow, string> {
</ak-form-element-horizontal>
`
: html``}`
: html`<ak-form-element-horizontal label=${t`Icon`} name="icon">
: html`<ak-form-element-horizontal label=${t`Background`} name="background">
<input
type="text"
value="${first(this.instance?.background, "")}"