Skip to content

Commit

Permalink
Add missing setting and clean up initial render
Browse files Browse the repository at this point in the history
  • Loading branch information
JackDallas committed Jun 4, 2022
1 parent dcb34ad commit 783b9b3
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions web/src/pages/Config.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@
let webRoot = window.location.href;
let config = {
BlackholeDirectory: "Initializing...",
DownloadsDirectory: "Initializing...",
UnzipDirectory: "Initializing...",
BindIP: "Initializing...",
BindPort: "Initializing...",
BlackholeDirectory: "",
DownloadsDirectory: "",
UnzipDirectory: "",
BindIP: "",
BindPort: "",
WebRoot: "",
SimultaneousDownloads: 0,
Arrs: [],
};
Expand Down Expand Up @@ -185,6 +186,11 @@
labelText="Bind Port"
bind:value={config.BindPort}
/>
<TextInput
disabled={inputDisabled}
labelText="Web Root"
bind:value={config.WebRoot}
/>
</FormGroup>
<h4>Download Settings</h4>
<FormGroup>
Expand Down

0 comments on commit 783b9b3

Please sign in to comment.