fix bug of configuration
This commit is contained in:
@@ -67,7 +67,7 @@ async function initConfig() {
|
||||
baseData.value = await getConfiguration()
|
||||
items.value = baseData.value?.map((x: Const) => {
|
||||
// Truncate x.value if it's longer than 40 characters
|
||||
const truncatedValue = x?.value.length > 40 ? x?.value.substring(0, 40) + '...' : x.value
|
||||
const truncatedValue = x?.value?.length > 40 ? x?.value?.substring(0, 40) + '...' : x.value
|
||||
|
||||
return {
|
||||
id: x.id,
|
||||
|
||||
Reference in New Issue
Block a user