mirror of
https://github.com/nasa/openmct.git
synced 2024-12-27 00:31:06 +00:00
Update comment
This commit is contained in:
parent
2c4b3c38fd
commit
3b3be58f41
@ -122,7 +122,6 @@ export default {
|
|||||||
|
|
||||||
},
|
},
|
||||||
promptForRoleSelection() {
|
promptForRoleSelection() {
|
||||||
console.log('allRoles', this.allRoles)
|
|
||||||
const selectionOptions = this.allRoles;
|
const selectionOptions = this.allRoles;
|
||||||
const dialog = this.openmct.overlays.selection({
|
const dialog = this.openmct.overlays.selection({
|
||||||
selectionOptions,
|
selectionOptions,
|
||||||
@ -245,9 +244,10 @@ export default {
|
|||||||
this.roleChannel.postMessage(role);
|
this.roleChannel.postMessage(role);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
/** FIXME: there doesn't seem to be a reliable way to test for open/closed
|
/** FIXME: there doesn't seem to be a reliable way to test for open/closed
|
||||||
* status of a broadcast channel; channel.name exists even after the channel is closed
|
* status of a broadcast channel; channel.name exists even after the channel
|
||||||
* failure to update the subscribed tabs, should not block the focused tab's selection.
|
* is closed. Failure to update the subscribed tabs, should not block the
|
||||||
* An error will often be thrown if the dialog remains open during HMR
|
* focused tab's selection and so it is caught here. An error will often be
|
||||||
|
* thrown if the dialog remains open during HMR.
|
||||||
**/
|
**/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user