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() { 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.
**/ **/
} }