Update comment

This commit is contained in:
Michael Rogers 2023-06-01 10:03:16 -05:00
parent 2c4b3c38fd
commit 3b3be58f41

View File

@ -122,7 +122,6 @@ export default {
},
promptForRoleSelection() {
console.log('allRoles', this.allRoles)
const selectionOptions = this.allRoles;
const dialog = this.openmct.overlays.selection({
selectionOptions,
@ -245,9 +244,10 @@ export default {
this.roleChannel.postMessage(role);
} catch (e) {
/** 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
* failure to update the subscribed tabs, should not block the focused tab's selection.
* An error will often be thrown if the dialog remains open during HMR
* status of a broadcast channel; channel.name exists even after the channel
* is closed. Failure to update the subscribed tabs, should not block the
* focused tab's selection and so it is caught here. An error will often be
* thrown if the dialog remains open during HMR.
**/
}