feat(project-crud-sync): add planning artifacts for CRUD project lifecycle #5

Open
NHoarau wants to merge 14 commits from feat/create-projects into main
2 changed files with 4 additions and 4 deletions
Showing only changes of commit d826ee6a50 - Show all commits

View file

@ -47,8 +47,8 @@ function onSubmit() {
</UFormField>
<div class="flex gap-3 justify-end">
<UButton label="Cancel" color="neutral" variant="outline" to="/projects" />
<UButton type="submit" label="Save" color="primary" :loading="saving" />
<UButton label="Cancel" icon="i-lucide-x" color="neutral" variant="outline" to="/projects" />
<UButton type="submit" label="Save" icon="i-lucide-save" color="primary" :loading="saving" />
</div>
</form>
</template>

View file

@ -107,8 +107,8 @@ const columns: TableColumn<Project>[] = [
<template #footer>
<div class="flex gap-3 justify-end">
<UButton label="Cancel" color="neutral" variant="outline" @click="confirmDelete = false" />
<UButton label="Delete" color="error" @click="deleting && confirmAndDelete(deleting)" />
<UButton label="Cancel" icon="i-lucide-x" color="neutral" variant="outline" @click="confirmDelete = false; deleting = null" />
<UButton label="Delete" icon="i-lucide-trash-2" color="error" @click="deleting && confirmAndDelete(deleting)" />
</div>
</template>
</UModal>