fix bug of configuration

This commit is contained in:
2026-03-04 21:02:37 +03:30
parent d87f850b00
commit e96ef77e8f
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -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,