fix: disable edit for Node Type in App Info config
this value is only read from config file, not settings tablec
This commit is contained in:
parent
102ea176cb
commit
dc957f310f
2 changed files with 3 additions and 6 deletions
|
|
@ -16,11 +16,9 @@
|
|||
</b-field>
|
||||
|
||||
<b-field label="Node Type">
|
||||
## TODO: should be a dropdown, app handler defines choices
|
||||
<b-input name="${app.appname}.node_type"
|
||||
v-model="simpleSettings['${app.appname}.node_type']"
|
||||
@input="settingsNeedSaved = true">
|
||||
</b-input>
|
||||
## nb. this field is disabled b/c value is only read from config file
|
||||
<b-input value="${app.get_node_type() or ''}"
|
||||
disabled />
|
||||
</b-field>
|
||||
|
||||
<b-field label="Node Title">
|
||||
|
|
|
|||
|
|
@ -221,7 +221,6 @@ class AppInfoView(MasterView): # pylint: disable=abstract-method
|
|||
simple_settings = [
|
||||
# basics
|
||||
{"name": f"{self.config.appname}.app_title"},
|
||||
{"name": f"{self.config.appname}.node_type"},
|
||||
{"name": f"{self.config.appname}.node_title"},
|
||||
{"name": f"{self.config.appname}.production", "type": bool},
|
||||
{"name": "wuttaweb.themes.expose_picker", "type": bool},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue