mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
ui(server/files): add validation for duplicate directory names
This commit is contained in:
@@ -58,11 +58,9 @@ const inputStyle = css<Props>`
|
||||
${tw`opacity-75`};
|
||||
}
|
||||
|
||||
&:not(.ignoreReadOnly):read-only {
|
||||
${props => props.isLight ? light : css`&:not(.ignoreReadOnly):read-only {
|
||||
${tw`border-neutral-800 bg-neutral-900`};
|
||||
}
|
||||
|
||||
${props => props.isLight && light};
|
||||
}`};
|
||||
${props => props.hasError && tw`text-red-100 border-red-400 hover:border-red-300`};
|
||||
`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user