mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-06-29 20:53:04 +00:00
fix: correctly split shell
This commit is contained in:
parent
a430eb2e60
commit
f84a6db680
@ -321,7 +321,10 @@ const save = async () => {
|
|||||||
.filter((cmd: string) => cmd !== "");
|
.filter((cmd: string) => cmd !== "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
newSettings.shell = shellValue.value.split("\n");
|
newSettings.shell = shellValue.value
|
||||||
|
.trim()
|
||||||
|
.split(" ")
|
||||||
|
.filter((s) => s !== "");
|
||||||
|
|
||||||
if (newSettings.branding.theme !== getTheme()) {
|
if (newSettings.branding.theme !== getTheme()) {
|
||||||
setTheme(newSettings.branding.theme);
|
setTheme(newSettings.branding.theme);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user