Skip to content

Commit

Permalink
Merge pull request #302 from yohamta/fix-wemin-web-issues
Browse files Browse the repository at this point in the history
admin-web: fix filtering issue
  • Loading branch information
yohamta authored Aug 30, 2022
2 parents 68d333e + 9ceb223 commit 41bb9fc
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 38 deletions.
2 changes: 1 addition & 1 deletion admin/src/components/molecules/DAGTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ const defaultColumns = [
filterFn: (props, _, filter) => {
const data = props.original!;
if (data.Type != DAGDataType.DAG) {
return false;
return true;
}
const tags = data.DAGStatus.DAG.Tags;
const ret = tags?.some((tag) => tag == filter) || false;
Expand Down
75 changes: 38 additions & 37 deletions examples/example_2.yaml
Original file line number Diff line number Diff line change
@@ -1,38 +1,39 @@
group: example group
env:
LOG_DIR: ${HOME}/logs
logDir: ${LOG_DIR}
params: foo bar
steps:
- name: "check precondition"
command: echo start
preconditions:
- condition: "`echo $1`"
expected: foo
- name: "print foo"
command: echo $1
depends:
- "check precondition"
- name: "print bar"
command: echo $2
depends:
- "print foo"
- name: "failure and continue"
command: "false"
continueOn:
failure: true
depends:
- "print bar"
- name: "print done"
command: echo done!
depends:
- "failure and continue"
handlerOn:
exit:
command: echo finished!
success:
command: echo success!
failure:
command: echo failed!
cancel:
group: example group
env:
LOG_DIR: ${HOME}/logs
logDir: ${LOG_DIR}
params: foo bar
tags: daily
steps:
- name: "check precondition"
command: echo start
preconditions:
- condition: "`echo $1`"
expected: foo
- name: "print foo"
command: echo $1
depends:
- "check precondition"
- name: "print bar"
command: echo $2
depends:
- "print foo"
- name: "failure and continue"
command: "false"
continueOn:
failure: true
depends:
- "print bar"
- name: "print done"
command: echo done!
depends:
- "failure and continue"
handlerOn:
exit:
command: echo finished!
success:
command: echo success!
failure:
command: echo failed!
cancel:
command: echo canceled!

0 comments on commit 41bb9fc

Please sign in to comment.