fix styling issues with secret rows

This commit is contained in:
Vladyslav Matsiiako
2023-07-27 15:50:42 -07:00
parent 3f998296fe
commit 9193e7ef58
8 changed files with 33 additions and 25 deletions
@@ -63,7 +63,7 @@ export const SecretEditRow = ({
};
const handleFormSubmit = async ({ value }: { value?: string | null }) => {
if (value && secretName) {
if ((value || value === "") && secretName) {
if (isCreatable) {
await onSecretCreate(environment, secretName, value);
} else {