Skip to content

Commit

Permalink
feat(dashboard): maestro is default origin
Browse files Browse the repository at this point in the history
Closes #239
  • Loading branch information
Lucas Bracher committed Sep 6, 2024
1 parent 1ae6111 commit 2883239
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/kernelCI_app/views/treeView.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from kernelCI_app.utils import getQueryTimeInterval


DEFAULT_ORIGIN = '0dayci'
DEFAULT_ORIGIN = 'maestro'


class TreeView(View):
Expand Down
3 changes: 2 additions & 1 deletion dashboard/src/types/tree/Tree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ const origins = [
'syzbot',
'tuxsuite',
] as const;
const DEFAULT_ORIGIN = 'maestro';

export const zOriginEnum = z.enum(origins);
export const zOrigin = zOriginEnum.catch(origins[0]);
export const zOrigin = zOriginEnum.catch(DEFAULT_ORIGIN);

0 comments on commit 2883239

Please sign in to comment.