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

fix: material sources duplicated #613

Merged
merged 4 commits into from
Oct 13, 2020

Conversation

luhc228
Copy link
Contributor

@luhc228 luhc228 commented Oct 13, 2020

  • Fix: material sources display duplicated

@@ -83,7 +83,7 @@ export async function getSources(specifiedType?: string): Promise<IMaterialSourc
sources = sources.concat(OFFICAL_MATERIAL_SOURCES_FOR_EXTERNAL);
}
const userSources: IMaterialSource[] = getUserSources();
sources.unshift(...userSources);
sources = [...userSources, ...sources];
Copy link
Contributor

Choose a reason for hiding this comment

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

建议是改第 66 行代码:[].concat(OFFICAL_MATERIAL_SOURCES);

@luhc228 luhc228 force-pushed the fix/material-sources-display-duplicated branch from ba686d2 to 5eaa88f Compare October 13, 2020 11:57
@codecov-io
Copy link

Codecov Report

Merging #613 into hotfix/undefined will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@                Coverage Diff                @@
##           hotfix/undefined     #613   +/-   ##
=================================================
  Coverage             57.14%   57.14%           
=================================================
  Files                     1        1           
  Lines                    70       70           
  Branches                 15       15           
=================================================
  Hits                     40       40           
  Misses                   30       30           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b745d3f...8c69a8c. Read the comment docs.

@alvinhui alvinhui merged commit e2760cc into hotfix/undefined Oct 13, 2020
@delete-merged-branch delete-merged-branch bot deleted the fix/material-sources-display-duplicated branch October 13, 2020 12:51
alvinhui added a commit that referenced this pull request Oct 13, 2020
* fix: scaffold is empty

* fix: welcome page auto show logic

* docs: changelog for iceworks app

* fix: material sources duplicated (#613)

* fix: material sources duplicated

* chore: changelog

* fix: comment

Co-authored-by: Hengchang Lu <44047106+luhc228@users.noreply.github.com>
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