Commit Graph
2 Commits
Author SHA1 Message Date
J. Ryan Stinnett c0e4a35b99 Bug 1412359 - Filter to matching device on remove. r=gl
The local device removal path used by RDM had a bug in its `findIndex` call
which caused it to always return `true` for the first device.

Effectively this meant that each separate device removal button always removed
the first device!  This would lead to all sorts of user confusion and UI
divergence.

Here we clean this up by allowing the caller (RDM in this case) to specify via a
callback which device is intended for removal.

MozReview-Commit-ID: 22VwEDZAXOa
2017-10-30 11:00:55 -05:00
Miguel Useche acc9a7c1ab Bug 1402391 - CamelCase all React component files in \devtools\client\responsive.html\src\components\. r=jdescottes
MozReview-Commit-ID: Am14gw4EugN
2017-10-09 22:56:20 -04:00