Skip to content

Commit

Permalink
restore get keywords code (#596)
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotmessi authored Apr 28, 2022
1 parent 3e393c4 commit 0e35a8a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ymir/web/src/pages/task/label/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ function Label({ datasets, keywords, ...func }) {
<Space size={20}>
<Form.Item name='submitBtn' noStyle>
<Button type="primary" size="large" htmlType="submit">
{t('common.action.label')}
{t('task.create')}
</Button>
</Form.Item>
<Form.Item name='backBtn' noStyle>
Expand Down Expand Up @@ -216,6 +216,12 @@ const dis = (dispatch) => {
clearCache() {
return dispatch({ type: "dataset/clearCache", })
},
getKeywords(payload) {
return dispatch({
type: 'keyword/getKeywords',
payload,
})
},
updateIteration(params) {
return dispatch({
type: 'iteration/updateIteration',
Expand Down

0 comments on commit 0e35a8a

Please sign in to comment.