fixed editor missing peaces
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 0s

This commit is contained in:
2025-03-15 23:48:44 +01:00
parent d9ed115e56
commit 1597d4f113
29 changed files with 203 additions and 141 deletions
+4
View File
@@ -28,6 +28,8 @@ export async function updateArticle(
article: { ...article, content: JSON.parse(article.content) },
articleId,
});
revalidatePath("/");
// if (!result[0]?.id?.length) return false;
// return revalidatePath(`/artikel/${result[0]?.slug}/edit`);
}
@@ -35,5 +37,7 @@ export async function deleteArticle(articleId: string) {
const result = await api.article.delete({
articleId,
});
revalidatePath("/");
// if (!result[0]?.id?.length) return false;
}