Advertisement
Guest User

Untitled

a guest
Mar 21st, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. [{…}, {…}, {…}, {…}, {…}, {…}]
  2. 0: {id: "abc123", name: "Advanced Physiotherapists", requiresApproval: false}
  3. 1: {id: "xyz456", name: "Consultants", requiresApproval: true}
  4. 2: {id: "naw456", name: "Advanced Physiotherapists", requiresApproval: false}
  5. 3: {id: "mer456", name: "Consultants", requiresApproval: false}
  6. 4: {id: "wur356", name: "Advanced Physiotherapists", requiresApproval: false}
  7. 5: {id: "ass345", name: "Consultants", requiresApproval: false}
  8.  
  9. to cala tablica jak widisz z duplikacjami, ja musze miec:
  10.  
  11. [
  12. {id: "mer456", name: "Consultants", requiresApproval: true} - Consultants zawsze musi miec true
  13. {id: "wur356", name: "Advanced Physiotherapists", requiresApproval: false} Advanced Physiotherapists false
  14. ]
  15.  
  16. id nie ma zadnego znaczenia w tym wprzypadku
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement