mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-15 12:55:41 +01:00
fix (connectpage): edge case around non existing backend in config
This commit is contained in:
parent
3cab180956
commit
fd51c3f39d
2 changed files with 5 additions and 2 deletions
|
|
@ -4,6 +4,9 @@
|
|||
box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
|
||||
background: white;
|
||||
}
|
||||
.component_page_connection_form .formbuilder:not(:empty) {
|
||||
margin: 5px 0 10px 0;
|
||||
}
|
||||
.component_page_connection_form div.buttons {
|
||||
display: flex;
|
||||
margin: 0px 0px 15px 0px;
|
||||
|
|
@ -49,7 +52,6 @@
|
|||
padding-right: 10px;
|
||||
}
|
||||
.component_page_connection_form form button.emphasis {
|
||||
margin-top: 10px;
|
||||
color: white;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -68,7 +68,8 @@ export default async function(render) {
|
|||
middleware: { type: "hidden" },
|
||||
label: { type: "hidden", value: label },
|
||||
};
|
||||
return backendSpecs[type];
|
||||
const emptyForm = {};
|
||||
return backendSpecs[type] || {};
|
||||
})),
|
||||
)));
|
||||
effect(getCurrentBackend().pipe(
|
||||
|
|
|
|||
Loading…
Reference in a new issue