feat: add dashboard client components for finance, journal, projects, tasks, analytics, calendar, clients, and main overview
This commit is contained in:
@@ -551,6 +551,13 @@ function TaskDialog({
|
||||
try {
|
||||
await action(formData);
|
||||
setOpen(false);
|
||||
toast.success(mode === "create" ? "Görev eklendi." : "Görev güncellendi.");
|
||||
} catch (error) {
|
||||
toast.error(
|
||||
error instanceof Error
|
||||
? error.message
|
||||
: "Görev kaydedilirken beklenmeyen bir hata oluştu.",
|
||||
);
|
||||
} finally {
|
||||
setIsSubmitting(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user