Update success messages

This commit is contained in:
Andras Bacsai committed 2024-02-22 14:53:42 +01:00
1 parent 592221b4bf
commit c7218f2856
32 files changed
+67 -57

No files matched your search

@@ -48,7 +48,7 @@ class All extends Component
}
$task->save();
$this->refreshTasks();
$this->dispatch('success', 'Scheduled task added successfully.');
$this->dispatch('success', 'Scheduled task added.');
} catch (\Throwable $e) {
return handleError($e, $this);
}
@@ -49,7 +49,7 @@ class Show extends Component
{
$this->validate();
$this->task->save();
$this->dispatch('success', 'Scheduled task updated successfully.');
$this->dispatch('success', 'Scheduled task updated.');
$this->dispatch('refreshTasks');
}