fix: max size of tempchart (#865)
This commit is contained in:
parent
80206d7b4a
commit
0551ea39e7
@ -33,7 +33,9 @@ export const getters: GetterTree<ServerState, any> = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
getConfig: (state) => (section: string, attribute: string) => {
|
getConfig: (state) => (section: string, attribute: string) => {
|
||||||
if (section in state.config && attribute in state.config[section]) return state.config[section][attribute]
|
const config = state.config?.config ?? {}
|
||||||
|
|
||||||
|
if (section in config && attribute in config[section]) return config[section][attribute]
|
||||||
|
|
||||||
return null
|
return null
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user