Skip to content

Commit 7b883f7

Browse files
fix: read only view permissions for team settings page (#565)
Co-authored-by: Dennis van Kekem <38350840+dennisvankekem@users.noreply.github.com>
1 parent 5885d91 commit 7b883f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/KeyValue.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ export default function KeyValue(props: KeyValueProps) {
219219
label={showLabel && localIndex === 0 ? valueLabel : ''}
220220
noMarginTop={compressed}
221221
type={valueIsNumber ? 'number' : undefined}
222-
disabled={mutableValue?.has(field.name) ? false : valueDisabled}
222+
disabled={mutableValue?.has(field.name) ? disabled : valueDisabled}
223223
InputProps={{
224224
readOnly: frozen,
225225
endAdornment: decoratorMapping ? (

0 commit comments

Comments
 (0)