add new storage modal and validation for storage creation

This commit is contained in:
2026-05-29 17:33:17 +02:00
parent b0731b22db
commit 8c4f194164
6 changed files with 197 additions and 26 deletions
+7
View File
@@ -66,11 +66,18 @@ export const StorageRow = ({ storage }: StorageRowProps) => {
<td>{formatDate(storage.updated_at)}</td>
<td>
<Button
color="primary"
onClick={form.handleSubmit}
disabled={!isDirty || mutation.isPending}
>
{mutation.isPending ? "..." : "Save"}
</Button>
<Button
color="danger"
onClick={() => console.log("Delete Storage: " + storage.uuid)}
>
{mutation.isPending ? "..." : "Delete"}
</Button>
</td>
</tr>
);