feat: add file upload and management features; enhance pagination and permissions handling
Some checks failed
Workflow / ʦ TypeScript (push) Failing after 5m43s
Workflow / ⚫️ Test (push) Has been skipped

This commit is contained in:
T. Zehetbauer
2026-04-01 20:13:15 +02:00
parent db4e19c3af
commit bbb33aa63d
39 changed files with 2858 additions and 99 deletions

View File

@@ -2,6 +2,8 @@
import { useState } from 'react';
import { Button } from '@kit/ui/button';
import type { CmsFieldType } from '../schema/module.schema';
import { FieldRenderer } from './field-renderer';
@@ -114,13 +116,13 @@ export function ModuleForm({
))}
<div className="flex justify-end gap-2 border-t pt-4">
<button
<Button
type="submit"
disabled={isLoading}
className="bg-primary text-primary-foreground hover:bg-primary/90 inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-medium disabled:opacity-50"
data-test="module-record-submit-btn"
>
{isLoading ? 'Wird gespeichert...' : 'Speichern'}
</button>
</Button>
</div>
</form>
);