Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support data-import task manager #239

Merged
merged 9 commits into from
Jul 29, 2020
Merged

Conversation

OshotOkill
Copy link
Contributor

No description provided.

onClick: () => {
dataAnalyzeStore.setFavoritePopUp('editFavorite');
dataAnalyzeStore.resetFavoriteRequestStatus('add');
dataAnalyzeStore.resetFavoriteRequestStatus('edit');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里为什么调用两次?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are two different request status who are being used in different situtaion

dataMapStore.setSelectedFileId(
Number(dataMapStore.fileMapInfos[0].id)
);
dataMapStore.setSelectedFileInfo();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里直接用setSelectedFileInfo,会不会好点

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In early devs there were some scenarios that only set file ids. Since now the scenarios are gone I 'll remove one of two steps later.

@OshotOkill OshotOkill requested a review from Crayonn July 29, 2020 11:46
@Crayonn Crayonn self-requested a review July 29, 2020 12:11
@Linary Linary merged commit 14b62a2 into hugegraph:master Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants