Skip to content

feat: add currentDevice property to current device #15

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

paulobmarcos
Copy link
Contributor

Following the issue: ipfs-shipyard/pm-idm#197

@codecov-io
Copy link

codecov-io commented Jul 2, 2019

Codecov Report

Merging #15 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master     #15   +/-   ##
======================================
  Coverage    38.9%   38.9%           
======================================
  Files          54      54           
  Lines        1293    1293           
  Branches      163     163           
======================================
  Hits          503     503           
  Misses        681     681           
  Partials      109     109
Impacted Files Coverage Δ
src/identities/identity/devices.js 5.71% <0%> (ø) ⬆️

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 ce90f54...61954c7. Read the comment docs.

@paulobmarcos paulobmarcos force-pushed the feat_current-device-prop branch from e5ca584 to c965a16 Compare July 2, 2019 10:36
@@ -111,7 +111,7 @@ class Devices {

if (this.#devicesMap[currentId]) {
this.#devicesMap[currentId] = merge(
{ ...this.#devicesMap[currentId] },
{ ...this.#devicesMap[currentId], current: true },
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we add current: false to others?

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