diff options
| author | Henry Jameson <me@hjkos.com> | 2023-03-19 21:27:07 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2023-03-19 21:27:07 +0200 |
| commit | 332ad77e3579d2b512ba236b3f2c94ad8875864d (patch) | |
| tree | 9a615e63df6d109663aaba0892df53b940b3031b /src/components/settings_modal/helpers/setting.js | |
| parent | ab5408d36e74b435bb38f6c8fb6389b4babc388d (diff) | |
limits tab, backend descriptions
Diffstat (limited to 'src/components/settings_modal/helpers/setting.js')
| -rw-r--r-- | src/components/settings_modal/helpers/setting.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/components/settings_modal/helpers/setting.js b/src/components/settings_modal/helpers/setting.js index 0971b919..f270216f 100644 --- a/src/components/settings_modal/helpers/setting.js +++ b/src/components/settings_modal/helpers/setting.js @@ -59,6 +59,16 @@ export default { return value } }, + backendDescription () { + console.log(get(this.$store.state.adminSettings.descriptions, this.path)) + return get(this.$store.state.adminSettings.descriptions, this.path) + }, + backendDescriptionLabel () { + return this.backendDescription.label + }, + backendDescriptionDescription () { + return this.backendDescription.description + }, shouldBeDisabled () { const parentValue = this.parentPath !== undefined ? get(this.configSource, this.parentPath) : null return this.disabled || (parentValue !== null ? (this.parentInvert ? parentValue : !parentValue) : false) |
