more name stuff + .gitignore
This commit is contained in:
1 parent
76dca488ee
commit
ea9dd2a8a3
26 files changed
+595
-162
No files matched your search
@@ -1,5 +1,4 @@
|
||||
import InputText from "../../components/InputText";
|
||||
import { ServiceScript } from "../types/script";
|
||||
import { BaseState } from "./BaseState";
|
||||
|
||||
|
||||
@@ -7,13 +6,13 @@ export default class Generic extends BaseState<{alias: string}> {
|
||||
defaultState = () => ({
|
||||
alias: "Unknown",
|
||||
})
|
||||
isReady(state: ServiceScript): boolean {
|
||||
isReady(state: any): boolean {
|
||||
return true;
|
||||
}
|
||||
renderOptionList(state: ServiceScript): JSX.Element {
|
||||
renderOptionList(state: any): JSX.Element {
|
||||
return <div className="state-manager-options">
|
||||
<InputText label="Description"
|
||||
value={state.alias}
|
||||
value={state.alias??""}
|
||||
onChange={alias => this.setState({...state, alias})}
|
||||
/>
|
||||
<br/>
|
||||
|
||||
Reference in new issue
Block a user