Add db_path to settings page

This commit is contained in:
2023-05-28 15:34:27 +08:00
parent 993de92e34
commit 5d2d911d1a
5 changed files with 25 additions and 8 deletions

View File

@@ -97,8 +97,10 @@ export default class SettingsText<T extends keyof TextType>
render() {
this.ref = useRef<TextField>();
const id = `s-${this.props.name}`;
let cn = "text";
if (this.props.helpertext) cn += " helper";
return (
<div class="text" id={id}>
<div class={cn} id={id}>
<label>{this.props.description}</label>
<TextField
fullwidth={this.props.fullwidth}