fix(settings): show code-managed keys in regular settings panel
Runtime Montzar/price keys visible when can_edit=1 from API (readonly). Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -309,7 +309,6 @@ const filteredRows = computed(() =>
|
|||||||
(baseData.value || []).filter((row) => {
|
(baseData.value || []).filter((row) => {
|
||||||
if (row.id == null || !matchesFilter(row)) return false
|
if (row.id == null || !matchesFilter(row)) return false
|
||||||
if (!isSettingVisible(row.key)) return false
|
if (!isSettingVisible(row.key)) return false
|
||||||
if (isCodeManagedSettingKey(row.key) && !isSystemMode.value) return false
|
|
||||||
if (isSystemMode.value) return true
|
if (isSystemMode.value) return true
|
||||||
return isEditable(row)
|
return isEditable(row)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user