Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • M membership.eclipse.org
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 20
    • Issues 20
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 3
    • Merge requests 3
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Eclipse FoundationEclipse Foundation
  • IT
  • Websites
  • membership.eclipse.org
  • Issues
  • #424
Closed
Open
Issue created Dec 09, 2021 by Zhou Fang@zhoufang

Duplicated resources items in "view all" popup

This is happening as JS doesn't support a deep copy of an array natively, so when the nested array or object in the copied array change, then original array will have the same change. When the component re-renders, the duplicated changes will show up.

For a quick solution, will create the array inside the component, so whenever it re-renders, the array will be created freshly.

In 1.4, Will make sure only 1 API call will be made before user refresh/reopen the page.

Issue screenshot:

image

Edited Dec 10, 2021 by Zhou Fang
Assignee
Assign to
Time tracking

Copyright © Eclipse Foundation, Inc. All Rights Reserved.     Privacy Policy | Terms of Use | Copyright Agent