mirror of
https://github.com/domfelipe/mika-agent-assist.git
synced 2026-08-07 10:16:43 +00:00
Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
parent
517cd3d0ad
commit
f1ee80093a
1 changed files with 1 additions and 0 deletions
|
|
@ -69,6 +69,7 @@ export function useCronjob(id: string | undefined) {
|
||||||
.select("*")
|
.select("*")
|
||||||
.eq("id", id!)
|
.eq("id", id!)
|
||||||
.eq("user_id", user!.id)
|
.eq("user_id", user!.id)
|
||||||
|
.neq("status", "archived")
|
||||||
.maybeSingle();
|
.maybeSingle();
|
||||||
if (error) throw error;
|
if (error) throw error;
|
||||||
return data ? normalizeJob(data) : null;
|
return data ? normalizeJob(data) : null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue