mirror of
https://github.com/goauthentik/authentik
synced 2026-04-26 01:25:02 +02:00
web: Clean up file methods. (#15479)
This commit is contained in:
@@ -58,7 +58,7 @@ export class FlowForm extends WithCapabilitiesConfig(ModelForm<Flow, string>) {
|
||||
}
|
||||
|
||||
if (this.can(CapabilitiesEnum.CanSaveMedia)) {
|
||||
const icon = this.getFormFiles().background;
|
||||
const icon = this.files().get("background");
|
||||
if (icon || this.clearBackground) {
|
||||
await new FlowsApi(DEFAULT_CONFIG).flowsInstancesSetBackgroundCreate({
|
||||
slug: flow.slug,
|
||||
|
||||
Reference in New Issue
Block a user