fix: move readOnly into inputProps on download token OutlinedInput

This commit is contained in:
2026-03-01 16:39:42 +01:00
parent 0943798399
commit 593daa17bf

View File

@@ -307,7 +307,6 @@ export default function ConfigDetail() {
<OutlinedInput
label="Download Token"
value={downloadToken}
readOnly
endAdornment={
<InputAdornment position="end">
<Tooltip title="Copy token">
@@ -317,7 +316,7 @@ export default function ConfigDetail() {
</Tooltip>
</InputAdornment>
}
inputProps={{ style: { fontFamily: 'monospace', fontSize: 12 } }}
inputProps={{ readOnly: true, style: { fontFamily: 'monospace', fontSize: 12 } }}
/>
</FormControl>
<Tooltip title="Regenerate token">